From cfc1385380a23c1d170d7c448fe76c5cfab135b7 Mon Sep 17 00:00:00 2001
From: Victor Zverovich <victor.zverovich@gmail.com>
Date: Mon, 1 Oct 2012 10:07:35 -0700
Subject: [PATCH] Undefine complex on MSVC

---
 templates_on.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates_on.h b/templates_on.h
index cd32eff..ca46ba2 100644
--- a/templates_on.h
+++ b/templates_on.h
@@ -20,6 +20,9 @@
 #define BASE_EPSILON GSL_DBL_EPSILON
 
 #elif defined(BASE_GSL_COMPLEX)
+#ifdef _MSC_VER
+#undef complex
+#endif
 #define BASE gsl_complex
 #define SHORT complex
 #define SHORT_REAL
-- 
1.7.9.5

