History

Fix include/tccdefs.h

Remove __amd64__ for FreeBD (32 bits version did not work any more) Add __APPLE__ at HAVE MALLOC_REDIR so bound checking works on apple

herman ten brugge committed 5 years ago

Commit f7d2d041 parent 0352c411 file · +1 −2Browse files

Unified · Split

include/tccdefs.h+1−2
@@ -72,7 +72,6 @@ · 71 unmodified lines
72 #define __GNUC_PATCHLEVEL__ 072 #define __GNUC_PATCHLEVEL__ 0
73 #define __GNUC_STDC_INLINE__ 173 #define __GNUC_STDC_INLINE__ 1
74 #define __NO_TLS 174 #define __NO_TLS 1
75 #define __amd64__ 1
76# if __SIZEOF_POINTER__ == 875# if __SIZEOF_POINTER__ == 8
77 /* FIXME, __int128_t is used by setjump */76 /* FIXME, __int128_t is used by setjump */
78 #define __int128_t struct { unsigned char _dummy[16] __attribute((aligned(16))); }77 #define __int128_t struct { unsigned char _dummy[16] __attribute((aligned(16))); }
@@ -232,7 +231,7 @@ · 153 unmodified lines
232 __BOUND(void*,__aeabi_memset,(void*,int,__SIZE_TYPE__))231 __BOUND(void*,__aeabi_memset,(void*,int,__SIZE_TYPE__))
233#endif232#endif
234 233
235#if defined __linux__ // HAVE MALLOC_REDIR234#if defined __linux__ || defined __APPLE__ // HAVE MALLOC_REDIR
236 #define __MAYBE_REDIR __BUILTIN235 #define __MAYBE_REDIR __BUILTIN
237#else236#else
238 #define __MAYBE_REDIR __BOTH237 #define __MAYBE_REDIR __BOTH

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