mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 06:59:32 +03:00
fix mi_cdecl for older clang versions
This commit is contained in:
parent
311794b296
commit
eb25093b13
1 changed files with 1 additions and 1 deletions
|
@ -53,8 +53,8 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
#else
|
||||
#define mi_attr_alloc_size(s) __attribute__((alloc_size(s)))
|
||||
#define mi_attr_alloc_size2(s1,s2) __attribute__((alloc_size(s1,s2)))
|
||||
#define mi_cdecl // leads to warnings... __attribute__((cdecl))
|
||||
#endif
|
||||
#define mi_cdecl // leads to warnings... __attribute__((cdecl))
|
||||
#else
|
||||
#define mi_decl_thread __thread
|
||||
#define mi_decl_export
|
||||
|
|
Loading…
Add table
Reference in a new issue