From 96c216173b3b03f42b29b4ec1b02037be4061d9a Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Mon, 22 Dec 2014 17:14:40 +0900
Subject: [PATCH 1/3] x86: MSVC does not support Complex type

---
 src/x86/ffitarget.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/x86/ffitarget.h b/src/x86/ffitarget.h
index a236677..ff0f718 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 ----------------------------------------- */
 
-- 
2.8.2

