Changeset 26341 in vbox for trunk/include
- Timestamp:
- Feb 9, 2010 3:14:18 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57429
- Location:
- trunk/include/iprt
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpuset.h
r20374 r26341 240 240 #endif 241 241 242 -
trunk/include/iprt/lockvalidator.h
r25908 r26341 1040 1040 #endif 1041 1041 1042 -
trunk/include/iprt/memcache.h
r21636 r26341 56 56 #endif 57 57 58 -
trunk/include/iprt/nocrt/compiler/gcc.h
r11934 r26341 31 31 * additional information or have any questions. 32 32 */ 33 33 34 34 #ifndef ___iprt_nocrt_compiler_gcc_h 35 35 #define ___iprt_nocrt_compiler_gcc_h … … 49 49 50 50 #ifdef __SIZE_TYPE__ 51 typedef __SIZE_TYPE__ size_t; 51 typedef __SIZE_TYPE__ size_t; 52 52 #elif ARCH_BITS == 32 53 53 typedef uint32_t size_t; … … 56 56 #else 57 57 # error "ARCH_BITS is undefined or incorrect." 58 #endif 58 #endif 59 59 #define _SIZE_T_DECLARED 60 60 … … 62 62 # ifdef __WCHAR_TYPE__ 63 63 typedef __WCHAR_TYPE__ wchar_t; 64 # elif defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) 64 # elif defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) 65 65 typedef uint16_t wchar_t; 66 66 # else … … 83 83 # define NULL ((void *)0) 84 84 # endif 85 #endif 85 #endif 86 86 87 87 88 88 #ifndef offsetof 89 # if defined(__cplusplus) && defined(__offsetof__) 90 # define offsetof(type, memb) 89 # if defined(__cplusplus) && defined(__offsetof__) 90 # define offsetof(type, memb) 91 91 (__offsetof__ (reinterpret_cast<size_t>(&reinterpret_cast<const volatile char &>(static_cast<type *>(0)->memb))) ) 92 92 # else 93 93 # define offsetof(type, memb) ((size_t)&((type *)0)->memb) 94 # endif 95 #endif 94 # endif 95 #endif 96 96 97 97 98 98 /* sys/types.h */ 99 99 #ifdef __SSIZE_TYPE__ 100 typedef __SSIZE_TYPE__ ssize_t; 100 typedef __SSIZE_TYPE__ ssize_t; 101 101 #elif ARCH_BITS == 32 102 102 typedef int32_t ssize_t; … … 106 106 # define ARCH_BITS 123123 107 107 # error "ARCH_BITS is undefined or incorrect." 108 #endif 108 #endif 109 109 #define _SSIZE_T_DECLARED 110 110
Note:
See TracChangeset
for help on using the changeset viewer.