summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cython/Utility/ModuleSetupCode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c
index c3b46c09c..9a126b3ea 100644
--- a/Cython/Utility/ModuleSetupCode.c
+++ b/Cython/Utility/ModuleSetupCode.c
@@ -2133,7 +2133,7 @@ static void __Pyx_FastGilFuncInit(void) {
///////////////////// UtilityCodePragmas /////////////////////////
-#if _MSC_VER
+#ifdef _MSC_VER
#pragma warning( push )
/* Warning 4127: conditional expression is constant
* Cython uses constant conditional expressions to allow in inline functions to be optimized at
@@ -2144,6 +2144,6 @@ static void __Pyx_FastGilFuncInit(void) {
///////////////////// UtilityCodePragmasEnd //////////////////////
-#if _MSV_VER
+#ifdef _MSC_VER
#pragma warning( pop ) /* undo whatever Cython has done to warnings */
#endif