diff options
-rw-r--r-- | src/serd_internal.h | 2 | ||||
-rw-r--r-- | wscript | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h index 23fd75b4..b942072c 100644 --- a/src/serd_internal.h +++ b/src/serd_internal.h @@ -17,7 +17,7 @@ #ifndef SERD_INTERNAL_H #define SERD_INTERNAL_H -#define _POSIX_C_SOURCE 201112L /* for posix_memalign and posix_fadvise */ +#define _POSIX_C_SOURCE 200809L /* for posix_memalign and posix_fadvise */ #include <assert.h> #include <errno.h> @@ -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) |