Changeset 3716 for branches/libc-0.6/src/emx/include/sys
- Timestamp:
- Mar 17, 2011, 6:38:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/sys/cdefs.h
r2150 r3716 41 41 * @changed bird: Check if stuff is defined before accessing it in #if. Stops -Wundef 42 42 * from bitching. 43 * @changed bird: added __GNUCLIKE_XXX from FreeBSD 8.0 (releng/8.0/sys/sys/cdefs.h 193734) 43 44 */ 44 45 … … 55 56 #define __END_DECLS 56 57 #endif 58 59 /* 60 * This code has been put in place to help reduce the addition of 61 * compiler specific defines in FreeBSD code. It helps to aid in 62 * having a compiler-agnostic source tree. 63 */ 64 65 #if defined(__GNUC__) || defined(__INTEL_COMPILER) 66 67 #if __GNUC__ >= 3 || defined(__INTEL_COMPILER) 68 #define __GNUCLIKE_ASM 3 69 #define __GNUCLIKE_MATH_BUILTIN_CONSTANTS 70 #else 71 #define __GNUCLIKE_ASM 2 72 #endif 73 #define __GNUCLIKE___TYPEOF 1 74 #define __GNUCLIKE___OFFSETOF 1 75 #define __GNUCLIKE___SECTION 1 76 77 #define __GNUCLIKE_ATTRIBUTE_MODE_DI 1 78 79 #ifndef __INTEL_COMPILER 80 # define __GNUCLIKE_CTOR_SECTION_HANDLING 1 81 #endif 82 83 #define __GNUCLIKE_BUILTIN_CONSTANT_P 1 84 # if defined(__INTEL_COMPILER) && defined(__cplusplus) \ 85 && __INTEL_COMPILER < 800 86 # undef __GNUCLIKE_BUILTIN_CONSTANT_P 87 # endif 88 89 #if (__GNUC_MINOR__ > 95 || __GNUC__ >= 3) && !defined(__INTEL_COMPILER) 90 # define __GNUCLIKE_BUILTIN_VARARGS 1 91 # define __GNUCLIKE_BUILTIN_STDARG 1 92 # define __GNUCLIKE_BUILTIN_VAALIST 1 93 #endif 94 95 #if defined(__GNUC__) 96 # define __GNUC_VA_LIST_COMPATIBILITY 1 97 #endif 98 99 #ifndef __INTEL_COMPILER 100 # define __GNUCLIKE_BUILTIN_NEXT_ARG 1 101 # define __GNUCLIKE_MATH_BUILTIN_RELOPS 102 #endif 103 104 #define __GNUCLIKE_BUILTIN_MEMCPY 1 105 106 /* XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced */ 107 #define __CC_SUPPORTS_INLINE 1 108 #define __CC_SUPPORTS___INLINE 1 109 #define __CC_SUPPORTS___INLINE__ 1 110 111 #define __CC_SUPPORTS___FUNC__ 1 112 #define __CC_SUPPORTS_WARNING 1 113 114 #define __CC_SUPPORTS_VARADIC_XXX 1 /* see varargs.h */ 115 116 #define __CC_SUPPORTS_DYNAMIC_ARRAY_INIT 1 117 118 #endif /* __GNUC__ || __INTEL_COMPILER */ 57 119 58 120 /*
Note:
See TracChangeset
for help on using the changeset viewer.