summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-08-28 19:25:09 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-08-28 19:25:09 +0200
commit27b3f2b09722ac0333657212f1c5592ca6f4fe56 (patch)
treec73279ef3bd24999a0ee3d4a8329fa8464f41e3f
parent94ac149f168731a96e5b9adc2addaceb9b170142 (diff)
downloadlibsigrokdecode-27b3f2b09722ac0333657212f1c5592ca6f4fe56.tar.gz
libsigrokdecode-27b3f2b09722ac0333657212f1c5592ca6f4fe56.zip
Replace another -D_DEFAULT_SOURCE with -D_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 465a28d..0515e80 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,7 +70,7 @@ tests_main_SOURCES = \
tests/inst.c \
tests/session.c
-tests_main_CPPFLAGS = -D_DEFAULT_SOURCE -DDECODERS_DIR='"$(abs_top_srcdir)/decoders"'
+tests_main_CPPFLAGS = -D_POSIX_C_SOURCE=200112L -DDECODERS_DIR='"$(abs_top_srcdir)/decoders"'
tests_main_LDADD = libsigrokdecode.la $(SRD_EXTRA_LIBS) $(TESTS_LIBS)
MAINTAINERCLEANFILES = ChangeLog