Commit 9131039c93b6ecd1c3946905a3b6dafb5dc4ee40

Anthony Green 2015-01-10T09:22:42

Merge pull request #160 from nobu/msvc-no-complex 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 ----------------------------------------- */