summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
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)