aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-01 14:41:54 -0400
committerDavid Robillard <d@drobilla.net>2016-08-01 14:41:54 -0400
commit25781975fc0783a14f76bc60c15df9d3fcb0f8b0 (patch)
tree222960fa447a169ddc3b160251087aae6249def8 /wscript
parent2279e1fe9945499046209827e7c6da243a69f00c (diff)
downloadserd-25781975fc0783a14f76bc60c15df9d3fcb0f8b0.tar.gz
serd-25781975fc0783a14f76bc60c15df9d3fcb0f8b0.tar.bz2
serd-25781975fc0783a14f76bc60c15df9d3fcb0f8b0.zip
Use consistent feature test macros
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 606ee6c4..8f2b873d 100644
--- a/wscript
+++ b/wscript
@@ -63,19 +63,19 @@ def configure(conf):
conf.check(function_name = 'posix_memalign',
header_name = 'stdlib.h',
define_name = 'HAVE_POSIX_MEMALIGN',
- defines = ['_POSIX_C_SOURCE=201112L'],
+ defines = ['_POSIX_C_SOURCE=200809L'],
mandatory = False)
conf.check(function_name = 'posix_fadvise',
header_name = 'fcntl.h',
define_name = 'HAVE_POSIX_FADVISE',
- defines = ['_POSIX_C_SOURCE=201112L'],
+ defines = ['_POSIX_C_SOURCE=200809L'],
mandatory = False)
conf.check(function_name = 'fileno',
header_name = 'stdio.h',
define_name = 'HAVE_FILENO',
- defines = ['_POSIX_C_SOURCE=201112L'],
+ defines = ['_POSIX_C_SOURCE=200809L'],
mandatory = False)
autowaf.define(conf, 'SERD_VERSION', SERD_VERSION)