From: Uwe Hermann Date: Fri, 28 Aug 2015 17:25:09 +0000 (+0200) Subject: Replace another -D_DEFAULT_SOURCE with -D_POSIX_C_SOURCE=200112L. X-Git-Tag: libsigrokdecode-0.4.0~82 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=27b3f2b09722ac0333657212f1c5592ca6f4fe56;p=libsigrokdecode.git Replace another -D_DEFAULT_SOURCE with -D_POSIX_C_SOURCE=200112L. --- 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