From 27b3f2b09722ac0333657212f1c5592ca6f4fe56 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 28 Aug 2015 19:25:09 +0200 Subject: [PATCH] Replace another -D_DEFAULT_SOURCE with -D_POSIX_C_SOURCE=200112L. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2