Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -18,8 +18,13 @@ · 17 unmodified lines | ||
| 18 | 18 | |
| 19 | 19 | #if __SIZEOF_POINTER__ == 4 |
| 20 | 20 | /* 32bit systems. */ |
| 21 | +#if defined TARGETOS_OpenBSD | |
| 22 | + #define __SIZE_TYPE__ unsigned long | |
| 23 | + #define __PTRDIFF_TYPE__ long | |
| 24 | +#else | |
| 21 | 25 | #define __SIZE_TYPE__ unsigned int |
| 22 | 26 | #define __PTRDIFF_TYPE__ int |
| 27 | +#endif | |
| 23 | 28 | #define __ILP32__ 1 |
| 24 | 29 | #define __INT64_TYPE__ long long |
| 25 | 30 | #elif __SIZEOF_LONG__ == 4 |