Fix compiling on Linux
This commit is contained in:
parent
77558eec0c
commit
7c36289768
@ -37,6 +37,7 @@
|
|||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
//#include <Windows.h>
|
//#include <Windows.h>
|
||||||
#elif defined(__linux)
|
#elif defined(__linux)
|
||||||
|
#include <sys/time.h> // Declares storage size of ‘now’
|
||||||
#include <time.h> // Used for clock functions
|
#include <time.h> // Used for clock functions
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ endif
|
|||||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||||
CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline
|
CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline
|
||||||
else
|
else
|
||||||
CFLAGS = -O1 -Wall -std=c99
|
CFLAGS = -O1 -Wall -std=gnu99
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#CFLAGSEXTRA = -Wextra -Wmissing-prototypes -Wstrict-prototypes
|
#CFLAGSEXTRA = -Wextra -Wmissing-prototypes -Wstrict-prototypes
|
||||||
|
Loading…
Reference in New Issue
Block a user