diff options
author | midipix <writeonce@midipix.org> | 2018-07-16 02:53:00 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-07-16 02:53:00 -0400 |
commit | d8fec9d5c6656d9223bdec90e2b11c9750354102 (patch) | |
tree | d70e6b0d1a02e230ba8b9c74a29fe38127dac185 | |
parent | 8ecddc86a4eb061be8f33d99759334794be343ea (diff) | |
download | slibtool-d8fec9d5c6656d9223bdec90e2b11c9750354102.tar.bz2 slibtool-d8fec9d5c6656d9223bdec90e2b11c9750354102.tar.xz |
project: update the _XOPEN_SOURCE requirement to reflect use of openat(3).
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | config.project | 2 | ||||
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 4 | ||||
-rw-r--r-- | src/internal/slibtool_libmeta_impl.c | 4 | ||||
-rw-r--r-- | src/internal/slibtool_mapfile_impl.c | 4 | ||||
-rw-r--r-- | src/internal/slibtool_objmeta_impl.c | 4 | ||||
-rw-r--r-- | src/logic/slbt_exec_install.c | 4 | ||||
-rw-r--r-- | src/logic/slbt_exec_link.c | 4 |
8 files changed, 2 insertions, 26 deletions
@@ -45,7 +45,7 @@ effort, ease of customization, and long-term maintenance. - a C toolchain, consisting of - a C compiler such as gcc, clang, or [cparser]; - the compiler should support -std=c99; - - the system's libc should support -D_XOPEN_SOURCE=600. + - the system's libc should support -D_XOPEN_SOURCE=700. ## Usage diff --git a/config.project b/config.project index aff8c58..ce0b787 100644 --- a/config.project +++ b/config.project @@ -28,7 +28,7 @@ mb_default_shell=sh # switches -mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=600" +mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700" mb_default_cflags_common="$mb_default_cflags_common -D_DEFAULT_SOURCE -D_BSD_SOURCE" mb_default_cflags_common="$mb_default_cflags_common -I\$(PROJECT_DIR)/src/internal" mb_default_cflags_common="$mb_default_cflags_common -I\$(PROJECT_DIR)/include" diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 270f268..623a3f0 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -4,10 +4,6 @@ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ -#ifndef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200809L -#endif - #include <stdint.h> #include <unistd.h> #include <fcntl.h> diff --git a/src/internal/slibtool_libmeta_impl.c b/src/internal/slibtool_libmeta_impl.c index a379352..18984bd 100644 --- a/src/internal/slibtool_libmeta_impl.c +++ b/src/internal/slibtool_libmeta_impl.c @@ -4,10 +4,6 @@ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ -#ifndef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200809L -#endif - #include <fcntl.h> #include <stdio.h> #include <string.h> diff --git a/src/internal/slibtool_mapfile_impl.c b/src/internal/slibtool_mapfile_impl.c index 2b1b839..a084db8 100644 --- a/src/internal/slibtool_mapfile_impl.c +++ b/src/internal/slibtool_mapfile_impl.c @@ -4,10 +4,6 @@ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ -#ifndef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200809L -#endif - #include <fcntl.h> #include <errno.h> #include <unistd.h> diff --git a/src/internal/slibtool_objmeta_impl.c b/src/internal/slibtool_objmeta_impl.c index e723a35..b38cf75 100644 --- a/src/internal/slibtool_objmeta_impl.c +++ b/src/internal/slibtool_objmeta_impl.c @@ -4,10 +4,6 @@ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ -#ifndef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200809L -#endif - #include <fcntl.h> #include <stdio.h> #include <slibtool/slibtool.h> diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c index a52d53e..9665dd4 100644 --- a/src/logic/slbt_exec_install.c +++ b/src/logic/slbt_exec_install.c @@ -4,10 +4,6 @@ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ -#ifndef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200809L -#endif - #include <fcntl.h> #include <stdio.h> #include <string.h> diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index a2501b9..67b51fc 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -4,10 +4,6 @@ /* Released under the Standard MIT License; see COPYING.SLIBTOOL. */ /*******************************************************************/ -#ifndef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200809L -#endif - #include <stdlib.h> #include <stdio.h> #include <string.h> |