Replace another -D_DEFAULT_SOURCE with -D_POSIX_C_SOURCE=200112L.
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 28 Aug 2015 17:25:09 +0000 (19:25 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 28 Aug 2015 17:25:09 +0000 (19:25 +0200)
Makefile.am

index 465a28d1d1d4f9031c0a74739bdb8ff515972517..0515e80b91bddd5af556c273886273ed0e99b7a8 100644 (file)
@@ -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