diff options
author | David Robillard <d@drobilla.net> | 2016-08-01 14:41:32 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-01 14:41:32 -0400 |
commit | 88992b952f5cc0bb20cff835247198a0886ab310 (patch) | |
tree | 246ec59e4937ffcbe3565726d11519ec6290772b /wscript | |
parent | 844ae92f089fecae14702517044773adaa32203f (diff) | |
download | lilv-88992b952f5cc0bb20cff835247198a0886ab310.tar.gz lilv-88992b952f5cc0bb20cff835247198a0886ab310.tar.bz2 lilv-88992b952f5cc0bb20cff835247198a0886ab310.zip |
Use consistent feature test macros
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -95,7 +95,7 @@ def configure(conf): autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM', atleast_version='0.4.0', mandatory=True) - defines = ['_POSIX_C_SOURCE', '_BSD_SOURCE'] + defines = ['_POSIX_C_SOURCE=200809L', '_BSD_SOURCE'] if conf.env.DEST_OS == 'darwin': defines += ['_DARWIN_C_SOURCE'] @@ -113,7 +113,7 @@ def configure(conf): conf.check_cc(function_name='clock_gettime', header_name=['sys/time.h','time.h'], - defines=['_POSIX_C_SOURCE=199309L'], + defines=['_POSIX_C_SOURCE=200809L'], define_name='HAVE_CLOCK_GETTIME', uselib_store='CLOCK_GETTIME', lib=['rt'], |