mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-04 06:30:10 +08:00
OpenBSD: x86 use few clang compatible C types
This commit is contained in:
parent
db6dd66047
commit
42220676d7
@ -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 New Issue
Block a user