]> sigrok.org Git - libsigrok.git/commitdiff
Build: Go back to _POSIX_C_SOURCE=200112L
authorDaniel Elstner <redacted>
Thu, 27 Aug 2015 10:30:13 +0000 (12:30 +0200)
committerUwe Hermann <redacted>
Fri, 28 Aug 2015 16:35:16 +0000 (18:35 +0200)
Makefile.am

index d2447c651ea36dfff2d3c28ab6f0f7454a124724..622cd5028ba8c6acb0a70acad0a7247666ddad5a 100644 (file)
@@ -29,7 +29,7 @@ if BINDINGS_CXX
 local_includes += -Ibindings/cxx/include -I$(srcdir)/bindings/cxx/include -Ibindings/cxx
 endif
 # Ensure that local include directories are always searched first.
-AM_CPPFLAGS = $(local_includes) -D_DEFAULT_SOURCE -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
+AM_CPPFLAGS = $(local_includes) -D_POSIX_C_SOURCE=200112L -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
 
 # The tests CFLAGS are a superset of the libsigrok CFLAGS, and the
 # python bindings CFLAGS are a superset of the C++ bindings CFLAGS.