x86: MSVC does not support Complex type
authorNobuyoshi Nakada <nobu@ruby-lang.org>
Mon, 22 Dec 2014 08:14:40 +0000 (17:14 +0900)
committerNobuyoshi Nakada <nobu@ruby-lang.org>
Mon, 22 Dec 2014 08:14:40 +0000 (17:14 +0900)
src/x86/ffitarget.h

index 580522f..8c1dcac 100644 (file)
@@ -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 ----------------------------------------- */