History

OpenBSD: x86 use few clang compatible C types

Christian Jullien committed 5 years ago

Commit 42220671 parent db6dd661 file · +5 −0Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/tccdefs.h+5−0
@@ -18,8 +18,13 @@ · 17 unmodified lines
18 18
19#if __SIZEOF_POINTER__ == 419#if __SIZEOF_POINTER__ == 4
20 /* 32bit systems. */20 /* 32bit systems. */
21#if defined TARGETOS_OpenBSD
22 #define __SIZE_TYPE__ unsigned long
23 #define __PTRDIFF_TYPE__ long
24#else
21 #define __SIZE_TYPE__ unsigned int25 #define __SIZE_TYPE__ unsigned int
22 #define __PTRDIFF_TYPE__ int26 #define __PTRDIFF_TYPE__ int
27#endif
23 #define __ILP32__ 128 #define __ILP32__ 1
24 #define __INT64_TYPE__ long long29 #define __INT64_TYPE__ long long
25#elif __SIZEOF_LONG__ == 430#elif __SIZEOF_LONG__ == 4

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t