From eb25093b13b57cb83113527b7df47fcfb1a427c3 Mon Sep 17 00:00:00 2001 From: Daan Leijen Date: Wed, 21 Aug 2019 09:40:57 -0700 Subject: [PATCH] fix mi_cdecl for older clang versions --- include/mimalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mimalloc.h b/include/mimalloc.h index 6615e2e2..9f27e463 100644 --- a/include/mimalloc.h +++ b/include/mimalloc.h @@ -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