summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-11-26 16:35:01 +0100
committerPali Rohár <pali.rohar@gmail.com>2014-11-26 16:35:01 +0100
commitc86e130ab1af4b6161b2a71a2449d2e02109800f (patch)
treea5f606466c0234797a412bf1fa92794b110ecd08 /src/Makefile
parent448365b5889747ee04ac8d8628b730aa477ca89e (diff)
download0xFFFF-c86e130ab1af4b6161b2a71a2449d2e02109800f.tar.bz2
Makefile: Now 0xFFFF is Posix compatible, enable -D_POSIX_C_SOURCE=200809L
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index b436ee6..cad52e3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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