diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-22 22:20:20 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-22 23:47:24 +0200 |
commit | 58a5ba12bffad5916d9897c2870fc483f1db8282 (patch) | |
tree | 5a8f178deea7839831d275f968254fd9b944a4dd /include/features.h | |
parent | cdc93474623ced1357303ef2ac8e96b65d37615d (diff) |
remove __FAVOR_BSD
Remove __FAVOR_BSD and sync with GNU C library
Some issues compiling knock application fixed.
Reported-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'include/features.h')
-rw-r--r-- | include/features.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/features.h b/include/features.h index 3a9959360..7dc913f33 100644 --- a/include/features.h +++ b/include/features.h @@ -78,7 +78,6 @@ __USE_GNU Define GNU extensions. __USE_REENTRANT Define reentrant/thread-safe *_r functions. __USE_FORTIFY_LEVEL Additional security measures used, according to level. - __FAVOR_BSD Favor 4.3BSD things in cases of conflict. The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are defined by this file unconditionally. `__GNU_LIBRARY__' is provided @@ -115,7 +114,6 @@ #undef __USE_GNU #undef __USE_REENTRANT #undef __USE_FORTIFY_LEVEL -#undef __FAVOR_BSD #undef __KERNEL_STRICT_NAMES /* Suppress kernel-name space pollution unless user expressedly asks @@ -155,14 +153,6 @@ # define _DEFAULT_SOURCE 1 #endif -/* If _BSD_SOURCE was defined by the user, favor BSD over POSIX. */ -#if defined _BSD_SOURCE && \ - !(defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || \ - defined _XOPEN_SOURCE || defined _XOPEN_SOURCE_EXTENDED || \ - defined _GNU_SOURCE || defined _SVID_SOURCE) -# define __FAVOR_BSD 1 -#endif - /* If _GNU_SOURCE was defined by the user, turn on all the other features. */ #ifdef _GNU_SOURCE # undef _ISOC99_SOURCE |