Explorar el Código

Fix compiling on Linux

pull/29/head
Constantine Tarasenkov hace 9 años
padre
commit
7c36289768
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. +2
    -1
      src/gestures.c
  2. +1
    -1
      src/makefile

+ 2
- 1
src/gestures.c Ver fichero

@ -37,6 +37,7 @@
#if defined(_WIN32)
//#include <Windows.h>
#elif defined(__linux)
#include <sys/time.h> // Declares storage size of ‘now’
#include <time.h> // Used for clock functions
#endif
@ -659,4 +660,4 @@ static EM_BOOL EmscriptenInputCallback(int eventType, const EmscriptenTouchEvent
return 1;
}
#endif
#endif

+ 1
- 1
src/makefile Ver fichero

@ -73,7 +73,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_RPI)
CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline
else
CFLAGS = -O1 -Wall -std=c99
CFLAGS = -O1 -Wall -std=gnu99
endif
#CFLAGSEXTRA = -Wextra -Wmissing-prototypes -Wstrict-prototypes

Cargando…
Cancelar
Guardar