diff options
author | David Robillard <d@drobilla.net> | 2016-08-01 14:40:41 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-01 14:40:41 -0400 |
commit | 59557e3c467d8c514700fe1b7bdfa3d4e472317c (patch) | |
tree | 2bbae45d48c73e81344e30c286f83a4faa9bdeeb /wscript | |
parent | 1a4e4a79991932714e39ef44b9f5ba1ca4c6c251 (diff) | |
download | ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.tar.gz ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.tar.bz2 ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.zip |
Use consistent feature test macros
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |