Changeset 5704
- Timestamp:
- 11/12/07 14:45:29 (1 year ago)
- Files:
-
- trunk/include/iprt/types.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/iprt/types.h
r4927 r5704 59 59 * Kludge for the linux kernel: 60 60 * 1. sys/types.h doesn't mix with the kernel. 61 * 2. Starting with 2.6.19 linux/types.h typedefs bool and linux/stddef.h61 * 2. Starting with 2.6.19, linux/types.h typedefs bool and linux/stddef.h 62 62 * declares false and true as enum values. 63 * 3. Starting with 2.6.24, linux/types.h typedefs uintptr_t. 63 64 * We work around these issues here and nowhere else. 64 65 */ … … 70 71 # define true linux_true 71 72 # define false linux_false 73 # define uintptr_t linux_uintptr_t 72 74 # include <linux/types.h> 73 75 # include <linux/stddef.h> 76 # undef uintptr_t 74 77 # undef false 75 78 # undef true

