History

Small patch from collective work to better support FreeBSD.

Christian Jullien committed 4 years ago

Commit 72252821 parent e9f59c82 files · +11 −3Browse files

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

Unified · Split

include/tccdefs.h+5−0
@@ -92,6 +92,11 @@ · 91 unmodified lines
9292 # if __SIZEOF_POINTER__ == 8
9393 /* FIXME, __int128_t is used by setjump */
9494 #define __int128_t struct { unsigned char _dummy[16] __attribute((aligned(16))); }
95+ #define __SIZEOF_SIZE_T__ 8
96+ #define __SIZEOF_PTRDIFF_T__ 8
97+#else
98+ #define __SIZEOF_SIZE_T__ 4
99+ #define __SIZEOF_PTRDIFF_T__ 4
95100 # endif
96101
97102 #elif defined __FreeBSD_kernel__

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