Changeset 666 in vbox for trunk/include/iprt/nocrt/compiler
- Timestamp:
- Feb 6, 2007 2:46:38 AM (18 years ago)
- Location:
- trunk/include/iprt/nocrt/compiler
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nocrt/compiler/gcc.h
r661 r666 30 30 #define _SIZE_T_DECLARED 31 31 32 #ifdef __SSIZE_TYPE__ 33 typedef __SSIZE_TYPE__ ssize_t; 34 #elif ARCH_BITS == 32 35 typedef int32_t ssize_t; 36 #elif ARCH_BITS == 64 37 typedef int64_t ssize_t; 38 #else 39 # define ARCH_BITS 123123 40 # error "ARCH_BITS is undefined or incorrect." 41 #endif 42 #define _SSIZE_T_DECLARED 43 44 #ifdef __WCHAR_TYPE__ 32 #ifndef __cplusplus 33 # ifdef __WCHAR_TYPE__ 45 34 typedef __WCHAR_TYPE__ wchar_t; 46 # elif defined(__OS2__) || defined(__WIN__)35 # elif defined(__OS2__) || defined(__WIN__) 47 36 typedef uint16_t wchar_t; 48 # else37 # else 49 38 typedef int wchar_t; 39 # endif 40 # define _WCHAR_T_DECLARED 50 41 #endif 51 #define _WCHAR_T_DECLARED52 42 53 43 #ifdef __WINT_TYPE__ … … 76 66 #endif 77 67 68 69 /* sys/types.h */ 70 #ifdef __SSIZE_TYPE__ 71 typedef __SSIZE_TYPE__ ssize_t; 72 #elif ARCH_BITS == 32 73 typedef int32_t ssize_t; 74 #elif ARCH_BITS == 64 75 typedef int64_t ssize_t; 76 #else 77 # define ARCH_BITS 123123 78 # error "ARCH_BITS is undefined or incorrect." 79 #endif 80 #define _SSIZE_T_DECLARED 81 82 83 /* stdarg.h */ 84 typedef __builtin_va_list va_list; 85 #define va_start(va, arg) __builtin_va_start(va, arg) 86 #define va_end(va) __builtin_va_end(va) 87 #define va_arg(va, type) __builtin_va_arg(va, type) 88 #define va_copy(dst, src) __builtin_va_copy(dst, src) 89 90 78 91 #endif
Note:
See TracChangeset
for help on using the changeset viewer.