summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-08-28 18:34:34 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-08-28 18:41:04 +0200
commit94ac149f168731a96e5b9adc2addaceb9b170142 (patch)
tree85822079d2f63fc73aacdd964c806daa5005e92c
parent3a2086f011619dc62c58f39ffcfade9763813276 (diff)
downloadlibsigrokdecode-94ac149f168731a96e5b9adc2addaceb9b170142.tar.gz
libsigrokdecode-94ac149f168731a96e5b9adc2addaceb9b170142.zip
Build: Go back to _POSIX_C_SOURCE=200112L
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 873883e..465a28d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,7 +23,7 @@ AM_LIBTOOLFLAGS = --silent
MAKEFLAGS = --no-print-directory
DECODERS_DIR = $(pkgdatadir)/decoders
-AM_CPPFLAGS = -D_DEFAULT_SOURCE -DDECODERS_DIR='"$(DECODERS_DIR)"'
+AM_CPPFLAGS = -D_POSIX_C_SOURCE=200112L -DDECODERS_DIR='"$(DECODERS_DIR)"'
# The tests CFLAGS are a superset of the libsigrokdecode CFLAGS.
AM_CFLAGS = $(SRD_EXTRA_CFLAGS) $(SRD_WFLAGS) $(TESTS_CFLAGS)