Changeset 40945 in vbox for trunk/include
- Timestamp:
- Apr 16, 2012 4:11:56 PM (13 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r40874 r40945 1811 1811 #endif 1812 1812 1813 1814 /** @def NULL1815 * NULL pointer.1816 */1817 #ifndef NULL1818 # ifdef __cplusplus1819 # define NULL 01820 # else1821 # define NULL ((void*)0)1822 # endif1823 #endif1824 1825 1813 /** @def NIL_OFFSET 1826 1814 * NIL offset. -
trunk/include/iprt/types.h
r40943 r40945 133 133 */ 134 134 # undef NULL 135 # if defined(__cplusplus)136 # define NULL 0137 # else138 # define NULL ((void *)0)139 # endif140 135 # undef uintptr_t 141 136 # ifdef __GNUC__ … … 159 154 # include <sys/types.h> 160 155 # endif 156 157 /** @def NULL 158 * NULL pointer. 159 */ 160 #ifndef NULL 161 # ifdef __cplusplus 162 # define NULL 0 163 # else 164 # define NULL ((void*)0) 165 # endif 166 #endif 161 167 162 168 /* Define any types missing from sys/types.h on windows. */
Note:
See TracChangeset
for help on using the changeset viewer.