summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/empty.ingen/main.ttl (renamed from tests/empty.ingen/graph.ttl)0
-rw-r--r--wscript4
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/empty.ingen/graph.ttl b/tests/empty.ingen/main.ttl
index 3f8c8ed5..3f8c8ed5 100644
--- a/tests/empty.ingen/graph.ttl
+++ b/tests/empty.ingen/main.ttl
diff --git a/wscript b/wscript
index 20a2037d..811465f7 100644
--- a/wscript
+++ b/wscript
@@ -81,14 +81,14 @@ def configure(conf):
atleast_version='0.12.0', mandatory=False)
conf.check(function_name = 'posix_memalign',
- defines = '_POSIX_SOURCE=1',
+ defines = '_POSIX_C_SOURCE=200809L',
header_name = 'stdlib.h',
define_name = 'HAVE_POSIX_MEMALIGN',
mandatory = False)
conf.check(function_name = 'isatty',
header_name = 'unistd.h',
- defines = '_POSIX_SOURCE=1',
+ defines = '_POSIX_C_SOURCE=200809L',
define_name = 'HAVE_ISATTY',
mandatory = False)