From: Uwe Hermann Date: Fri, 28 Aug 2015 16:34:34 +0000 (+0200) Subject: Build: Go back to _POSIX_C_SOURCE=200112L X-Git-Tag: libsigrokdecode-0.4.0~83 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=94ac149f168731a96e5b9adc2addaceb9b170142;p=libsigrokdecode.git Build: Go back to _POSIX_C_SOURCE=200112L --- 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)