Changeset 1065
- Timestamp:
- Jan 25, 2004, 5:42:49 PM (22 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.1
to1.2
r1064 r1065 16 16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 17 17 02111-1307 USA. */ 18 19 /** @file 20 * GLIBC v2.3.2 21 * @changed bird: don't define *LARGEFILE64*, but make sure to indicate that 22 * off_t is 64bits. 23 */ 18 24 19 25 #ifndef _FEATURES_H … … 135 141 # define _XOPEN_SOURCE_EXTENDED 1 136 142 # undef _LARGEFILE64_SOURCE 143 #ifndef __EMX__ /* bird */ 137 144 # define _LARGEFILE64_SOURCE 1 145 #endif /* bird */ 138 146 # undef _BSD_SOURCE 139 147 # define _BSD_SOURCE 1 … … 212 220 #endif 213 221 222 #ifndef __EMX__ /* bird */ 214 223 #ifdef _LARGEFILE64_SOURCE 215 224 # define __USE_LARGEFILE64 1 216 225 #endif 217 226 #endif /* bird */ 227 228 #ifndef __EMX__ /* bird */ 218 229 #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 219 230 # define __USE_FILE_OFFSET64 1 220 231 #endif 232 #else 233 # define __USE_FILE_OFFSET64 1 234 #endif /* bird */ 221 235 222 236 #if defined _BSD_SOURCE || defined _SVID_SOURCE … … 296 310 # if defined __USE_FILE_OFFSET64 && !defined __REDIRECT 297 311 # define __USE_LARGEFILE 1 312 #ifndef __EMX__ /* bird */ 298 313 # define __USE_LARGEFILE64 1 314 #endif /* bird */ 299 315 # endif 300 316 … … 308 324 309 325 326 #ifndef __EMX__ /* bird */ 310 327 /* This is here only because every header file already includes this one. 311 328 Get the definitions of all the appropriate `__stub_FUNCTION' symbols. … … 313 330 that will always return failure (and set errno to ENOSYS). */ 314 331 #include <gnu/stubs.h> 332 #endif /* bird */ 315 333 316 334 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/gnu/cdefs.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1064 r1065 16 16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 17 17 02111-1307 USA. */ 18 19 /** 20 * GLIBC v2.3.2 21 * @changed bird: #ifndef'ed out a few clashes with the BSD cdefs.h. 22 */ 18 23 19 24 #ifndef _SYS_CDEFS_H … … 67 72 /* For these things, GCC behaves the ANSI way normally, 68 73 and the non-ANSI way under -traditional. */ 69 74 #ifndef __CONCAT /* bird */ 70 75 #define __CONCAT(x,y) x ## y 76 #endif /* bird */ 77 #ifndef __CONCAT /* bird */ 71 78 #define __STRING(x) #x 79 #endif /* bird */ 72 80 73 81 /* This is not a typedef so `const __ptr_t' does the right thing. */ … … 77 85 78 86 /* C++ needs to know that types and declarations are C, not C++. */ 87 #if !defined(__BEGIN_DECLS) && !defined(__END_DECLS) /* bird */ 79 88 #ifdef __cplusplus 80 89 # define __BEGIN_DECLS extern "C" { … … 84 93 # define __END_DECLS 85 94 #endif 86 95 #endif /* bird */ 87 96 88 97 /* The standard library needs the functions from the ISO C90 standard -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.