summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-01 14:40:41 -0400
committerDavid Robillard <d@drobilla.net>2016-08-01 14:40:41 -0400
commit59557e3c467d8c514700fe1b7bdfa3d4e472317c (patch)
tree2bbae45d48c73e81344e30c286f83a4faa9bdeeb /wscript
parent1a4e4a79991932714e39ef44b9f5ba1ca4c6c251 (diff)
downloadingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.tar.gz
ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.tar.bz2
ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.zip
Use consistent feature test macros
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)