Commit 7282d3289c6f6e2cc21e2c2b554c33af00ac3474

Nobuyoshi Nakada 2014-12-22T17:14:40

x86: MSVC does not support Complex type

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/x86/ffitarget.h b/src/x86/ffitarget.h
index 580522f..8c1dcac 100644
--- a/src/x86/ffitarget.h
+++ b/src/x86/ffitarget.h
@@ -50,7 +50,9 @@
 #endif
 
 #define FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION
+#ifndef _MSC_VER
 #define FFI_TARGET_HAS_COMPLEX_TYPE
+#endif
 
 /* ---- Generic type definitions ----------------------------------------- */