OpenBSD: x86 use few clang compatible C types
This commit is contained in:
parent
db6dd66047
commit
42220676d7
1 changed files with 5 additions and 0 deletions
|
@ -18,8 +18,13 @@
|
|||
|
||||
#if __SIZEOF_POINTER__ == 4
|
||||
/* 32bit systems. */
|
||||
#if defined TARGETOS_OpenBSD
|
||||
#define __SIZE_TYPE__ unsigned long
|
||||
#define __PTRDIFF_TYPE__ long
|
||||
#else
|
||||
#define __SIZE_TYPE__ unsigned int
|
||||
#define __PTRDIFF_TYPE__ int
|
||||
#endif
|
||||
#define __ILP32__ 1
|
||||
#define __INT64_TYPE__ long long
|
||||
#elif __SIZEOF_LONG__ == 4
|
||||
|
|
Loading…
Reference in a new issue