From 59557e3c467d8c514700fe1b7bdfa3d4e472317c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Aug 2016 14:40:41 -0400 Subject: Use consistent feature test macros --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') 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) -- cgit v1.2.1