commit ab8644002761823ce09f70be3379ffde30f31754
parent 75d53fab869b9491115fcac83f532236e0d28544
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Fri, 22 Jul 2016 17:33:54 +0300
don't define CID_CDECL
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/kfr/cident.h b/include/kfr/cident.h
@@ -234,11 +234,15 @@
#define CID_ALWAYS_INLINE_STATIC CID_ALWAYS_INLINE static
+#ifdef CID_ARCH_x86
#ifdef CID_OS_WIN
#define CID_CDECL __cdecl
#else
#define CID_CDECL __attribute__((cdecl))
#endif
+#else
+#define CID_CDECL
+#endif
#ifdef CID_OS_WIN
#if defined(CID_MSVC_ATTRIBUTES)