Changeset 1299 for trunk/src/emx/include/sys/cdefs.h
- Timestamp:
- Mar 15, 2004, 4:30:37 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/sys/cdefs.h
-
Property cvs2svn:cvs-rev
changed from
1.7
to1.8
r1298 r1299 43 43 * @changed bird: Toolkit compatibility (_CDEFS_H_ and __TCPROTO()). 44 44 * @changed zap: _System definition for older GCC compilers. 45 * @changed bird: Check if stuff is defined before accessing it in #if. Stops -Wundef 46 * from bitching. 45 47 */ 46 48 … … 199 201 200 202 /* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ 201 #if __FreeBSD_cc_version >= 300001203 #if defined(__FreeBSD_cc_version) && __FreeBSD_cc_version >= 300001 /* bird: check if defined to avoid -Wundef messages */ 202 204 #define __printf0like(fmtarg, firstvararg) \ 203 205 __attribute__((__format__ (__printf0__, fmtarg, firstvararg))) … … 319 321 320 322 /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */ 321 #if _POSIX_C_SOURCE == 1323 #if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 1 /* bird: check if defined to avoid -Wundef message. */ 322 324 #undef _POSIX_C_SOURCE /* Probably illegal, but beyond caring now. */ 323 325 #define _POSIX_C_SOURCE 199009 … … 325 327 326 328 /* Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. */ 327 #if _POSIX_C_SOURCE == 2329 #if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 2 /* bird: check if defined to avoid -Wundef message. */ 328 330 #undef _POSIX_C_SOURCE 329 331 #define _POSIX_C_SOURCE 199209 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.