Changeset 1649
- Timestamp:
- Nov 21, 2004, 6:00:07 PM (21 years ago)
- Location:
- trunk/src/emx/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/features.h
-
Property cvs2svn:cvs-rev
changed from
1.8
to1.9
r1648 r1649 11 11 * @changed bird: Check if stuff is defined before accessing it in #if. Stops -Wundef 12 12 * from bitching. 13 * @changed bird: don't test on __EMX__ - RC & mozilla. 13 14 */ 14 15 … … 117 118 #undef __FAVOR_BSD 118 119 #undef __KERNEL_STRICT_NAMES 119 #ifdef __EMX__ /* bird */120 120 #undef __USE_EMX /* bird */ 121 #endif /* bird */122 121 123 122 /* Suppress kernel-name space pollution unless user expressedly asks … … 144 143 # define _ISOC99_SOURCE 1 145 144 /* bird: sorry, but this isn't causing huge exclusions for BSD or EMX headers. */ 146 #if ndef __EMX__/* bird */145 #if 0 /*ndef __EMX__*/ /* bird */ 147 146 # undef _POSIX_SOURCE 148 147 # define _POSIX_SOURCE 1 … … 158 157 # define _XOPEN_SOURCE_EXTENDED 1 159 158 # undef _LARGEFILE64_SOURCE 160 #if ndef __EMX__/* bird */159 #if 0 /*def __EMX__*/ /* bird */ 161 160 # define _LARGEFILE64_SOURCE 1 162 161 #endif /* bird */ … … 165 164 # undef _SVID_SOURCE 166 165 # define _SVID_SOURCE 1 167 # if def __EMX__168 # define _EMX_SOURCE 1 169 # endif 170 # endif166 # if 1 /*def __EMX__ */ /* bird */ 167 # define _EMX_SOURCE 1 /* bird */ 168 # endif /* bird */ 169 # endif 171 170 172 171 /* If nothing (other than _GNU_SOURCE) is defined, … … 189 188 #endif 190 189 191 #if ndef __EMX__/* bird: this messes up lot's of EMX legacy declarations. */190 #if 0 /*ndef __EMX__*/ /* bird: this messes up lot's of EMX legacy declarations. */ 192 191 /* If none of the ANSI/POSIX macros are defined, use POSIX.1 and POSIX.2 193 192 (and IEEE Std 1003.1b-1993 unless _XOPEN_SOURCE is defined). */ … … 242 241 #endif 243 242 244 #if ndef __EMX__/* bird */243 #if 0 /*ndef __EMX__*/ /* bird */ 245 244 #ifdef _LARGEFILE64_SOURCE 246 245 # define __USE_LARGEFILE64 1 … … 248 247 #endif /* bird */ 249 248 250 #if ndef __EMX__/* bird */249 #if 0 /*ndef __EMX__*/ /* bird */ 251 250 #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 252 251 # define __USE_FILE_OFFSET64 1 … … 263 262 # define __USE_BSD 1 264 263 /* bird: __USE_BSD == __BSD_VISIBLE, make sure it's defined. */ 265 # if def __EMX__264 # if 1 /*def __EMX__ */ 266 265 # undef __BSD_VISIBLE 267 266 # define __BSD_VISIBLE 1 … … 278 277 #endif 279 278 280 #if defined(_ _EMX__) && defined(_EMX_SOURCE)/* bird */279 #if defined(_EMX_SOURCE) /* bird */ 281 280 # define __USE_EMX 1 /* bird */ 282 281 #endif /* bird */ … … 293 292 #define __STDC_ISO_10646__ 200009L 294 293 295 #if ndef __EMX__/*bird: we're not GLIBC */294 #if 0 /*ndef __EMX__*/ /*bird: we're not GLIBC */ 296 295 /* This macro indicates that the installed library is the GNU C Library. 297 296 For historic reasons the value now is 6 and this will stay from now … … 344 343 # if defined __USE_FILE_OFFSET64 && !defined __REDIRECT 345 344 # define __USE_LARGEFILE 1 346 #if ndef __EMX__/* bird */345 #if 0 /*ndef __EMX__*/ /* bird */ 347 346 # define __USE_LARGEFILE64 1 348 347 #endif /* bird */ … … 358 357 359 358 360 #if ndef __EMX__/* bird */359 #if 0 /*ndef __EMX__*/ /* bird */ 361 360 /* This is here only because every header file already includes this one. 362 361 Get the definitions of all the appropriate `__stub_FUNCTION' symbols. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/gnu/cdefs.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1648 r1649 20 20 * GLIBC v2.3.2 21 21 * @changed bird: #ifndef'ed out a few clashes with the BSD cdefs.h. 22 * @changed bird: Workaround for RC & mozilla. 22 23 */ 23 24 … … 41 42 #undef __PMT 42 43 43 #if def __GNUC__44 #if defined __GNUC__ || defined RC_INVOKED /* bird: RC hacks */ 44 45 45 46 /* GCC can always grok prototypes. For C++ programs we add throw() -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.