Changeset 1299 for trunk/src/emx/include/features.h
- Timestamp:
- Mar 15, 2004, 4:30:37 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/features.h
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r1298 r1299 22 22 * off_t is 64bits. 23 23 * @changed bird: not GLIBC version numbers. 24 * @cha gned bird: _GNU_SOURCE should not set _POSIX_SOURCE or _POSIX_C_SOURCE as that24 * @changed bird: _GNU_SOURCE should not set _POSIX_SOURCE or _POSIX_C_SOURCE as that 25 25 * means somewhat imporatant exclusions in EMX and BSD style headers. 26 26 * Some of this have been fixed by __USE_EMX/_EMX_SOURCE, but that's 27 27 * not gonna help enough. 28 * @changed bird: Check if stuff is defined before accessing it in #if. Stops -Wundef 29 * from bitching. 28 30 */ 29 31 … … 200 202 #endif /* bird */ 201 203 202 #ifdef __EMX__ /* This spawns warnings with -Wundef. */ 203 #if defined _POSIX_SOURCE || (defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1) || defined _XOPEN_SOURCE 204 #if defined _POSIX_SOURCE || (defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1) || defined _XOPEN_SOURCE /* bird: check if defined, -Wundef. */ 204 205 # define __USE_POSIX 1 205 #endif206 #else207 #if defined _POSIX_SOURCE || _POSIX_C_SOURCE >= 1 || defined _XOPEN_SOURCE208 # define __USE_POSIX 1209 #endif210 206 #endif 211 207 … … 214 210 #endif 215 211 216 #if (_POSIX_C_SOURCE - 0) >= 199309L212 #if defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L /* bird: check if defined, -Wundef. */ 217 213 # define __USE_POSIX199309 1 218 214 #endif 219 215 220 #if (_POSIX_C_SOURCE - 0) >= 199506L216 #if defined _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L /* bird: check if defined, -Wundef. */ 221 217 # define __USE_POSIX199506 1 222 218 #endif -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.