diff options
author | David Robillard <d@drobilla.net> | 2016-10-01 13:02:32 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-01 13:02:32 -0400 |
commit | 78187c2841368b443d2c9ee5cbebc95ce9553db0 (patch) | |
tree | 772026054b93b9b46b78c3f7bca34a2450b27bd6 | |
parent | 4fa91364b545ccba013435f75a72b87e6eb63b87 (diff) | |
download | lilv-78187c2841368b443d2c9ee5cbebc95ce9553db0.tar.gz lilv-78187c2841368b443d2c9ee5cbebc95ce9553db0.tar.bz2 lilv-78187c2841368b443d2c9ee5cbebc95ce9553db0.zip |
Transition away from deprecated _BSD_SOURCE
-rw-r--r-- | src/util.c | 1 | ||||
-rw-r--r-- | wscript | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -16,6 +16,7 @@ #define _POSIX_C_SOURCE 200809L /* for fileno */ #define _BSD_SOURCE 1 /* for realpath, symlink */ +#define _DEFAULT_SOURCE 1 /* for realpath, symlink */ #ifdef __APPLE__ # define _DARWIN_C_SOURCE 1 /* for flock */ @@ -96,7 +96,7 @@ def configure(conf): autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE', atleast_version='1.0.0', mandatory=False) - defines = ['_POSIX_C_SOURCE=200809L', '_BSD_SOURCE'] + defines = ['_POSIX_C_SOURCE=200809L', '_BSD_SOURCE', '_DEFAULT_SOURCE'] if conf.env.DEST_OS == 'darwin': defines += ['_DARWIN_C_SOURCE'] |