Linux: fix building

This commit is contained in:
~skmp 2015-05-16 11:23:31 +03:00
parent 2d842b9257
commit 4ea7398d8a
2 changed files with 4 additions and 2 deletions

View File

@ -198,6 +198,8 @@ bool HandleKb(u32 port) {
if (kbfd < 0)
return false;
input_event ie;
#if defined(TARGET_GCW0)
#define KEY_A 0x1D

View File

@ -1,4 +1,4 @@
#include "types.h"
#include "types.h"
#include "cfg/cfg.h"
#if HOST_OS==OS_LINUX || HOST_OS == OS_DARWIN
@ -234,7 +234,7 @@ double os_GetSeconds()
return a.tv_sec-tvs_base+a.tv_usec/1000000.0;
}
#if !defined(_ANDROID)
#if HOST_OS != OS_LINUX
void os_DebugBreak()
{
__builtin_trap();