aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-01 14:41:13 -0400
committerDavid Robillard <d@drobilla.net>2016-08-01 14:41:13 -0400
commit8298ad83ac0af32707d65b17b3a3a63c137a50e6 (patch)
tree1def0195a33dac058ed8cdfe25870bda5a9a4f3d /wscript
parentefb1e1aaf0441cbd3fec165e3cc53dff6f8ff9de (diff)
downloadjalv-8298ad83ac0af32707d65b17b3a3a63c137a50e6.tar.gz
jalv-8298ad83ac0af32707d65b17b3a3a63c137a50e6.tar.bz2
jalv-8298ad83ac0af32707d65b17b3a3a63c137a50e6.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 2a88b8c..62219bd 100644
--- a/wscript
+++ b/wscript
@@ -94,7 +94,7 @@ def configure(conf):
uselib='JACK',
mandatory=False)
- defines = ['_POSIX_SOURCE']
+ defines = ['_POSIX_C_SOURCE=200809L']
conf.check(function_name='isatty',
header_name='unistd.h',
@@ -110,7 +110,7 @@ def configure(conf):
if conf.is_defined('HAVE_ISATTY') and conf.is_defined('HAVE_FILENO'):
autowaf.define(conf, 'JALV_WITH_COLOR', 1)
- conf.env.append_unique('CFLAGS', ['-D_POSIX_SOURCE'])
+ conf.env.append_unique('CFLAGS', ['-D_POSIX_C_SOURCE=200809L'])
if not Options.options.no_jack_session:
autowaf.define(conf, 'JALV_JACK_SESSION', 1)