Makefile: Now 0xFFFF is Posix compatible, enable -D_POSIX_C_SOURCE=200809L

This commit is contained in:
Pali Rohár committed 2014-11-26 16:35:01 +01:00
1 parent 448365b588
commit c86e130ab1
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ CC = gcc
CROSS_CC = $(CROSS_COMPILE)$(CC)
HOST_CC = $(HOST_COMPILE)$(CC)
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
CFLAGS += -W -Wall -O2 -pedantic -std=c99
LIBS += -lusb