From 94ac149f168731a96e5b9adc2addaceb9b170142 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 28 Aug 2015 18:34:34 +0200 Subject: [PATCH] Build: Go back to _POSIX_C_SOURCE=200112L --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2