Netbsd uses __UINTPTR_TYPE__ to detect gcc in machine/int_types.h
Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -123,8 +123,10 @@ · 122 unmodified lines | ||
| 123 | 123 | |
| 124 | 124 | #endif |
| 125 | 125 | /* Some derived integer types needed to get stdint.h to compile correctly on some platforms */ |
| 126 | +#ifndef __NetBSD__ | |
| 126 | 127 | #define __UINTPTR_TYPE__ unsigned __PTRDIFF_TYPE__ |
| 127 | 128 | #define __INTPTR_TYPE__ __PTRDIFF_TYPE__ |
| 129 | +#endif | |
| 128 | 130 | #define __INT32_TYPE__ int |
| 129 | 131 | |
| 130 | 132 | #if !defined _WIN32 |