mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
use -fvisibility=hidden on clang as well
This commit is contained in:
parent
0316859e06
commit
6fb434a99b
3 changed files with 3 additions and 4 deletions
|
@ -43,7 +43,7 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
#define mi_attr_alloc_size(s)
|
||||
#define mi_attr_alloc_size2(s1,s2)
|
||||
#define mi_attr_alloc_align(p)
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
#elif defined(__GNUC__) // includes clang and icc
|
||||
#define mi_cdecl // leads to warnings... __attribute__((cdecl))
|
||||
#define mi_decl_thread __thread
|
||||
#define mi_decl_export __attribute__((visibility("default")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue