Explorar el Código

ENH: only check flag on unix

Bill Hoffman hace 24 años
padre
commit
8e7e53960e

+ 2 - 0
Tests/Complex/Library/testConly.c

@@ -2,11 +2,13 @@
 
 
 int CsharedFunction()
 int CsharedFunction()
 {
 {
+#if !defined(_WIN32) || defined(__CYGWIN__)
 #ifndef TEST_C_FLAGS
 #ifndef TEST_C_FLAGS
   printf("TEST_C_FLAGS failed\n");
   printf("TEST_C_FLAGS failed\n");
   return 0;
   return 0;
 #else
 #else
   printf("Passed: TEST_C_FLAGS passed\n");  
   printf("Passed: TEST_C_FLAGS passed\n");  
 #endif  
 #endif  
+#endif
   return 1;
   return 1;
 }
 }

+ 2 - 0
Tests/ComplexOneConfig/Library/testConly.c

@@ -2,11 +2,13 @@
 
 
 int CsharedFunction()
 int CsharedFunction()
 {
 {
+#if !defined(_WIN32) || defined(__CYGWIN__)
 #ifndef TEST_C_FLAGS
 #ifndef TEST_C_FLAGS
   printf("TEST_C_FLAGS failed\n");
   printf("TEST_C_FLAGS failed\n");
   return 0;
   return 0;
 #else
 #else
   printf("Passed: TEST_C_FLAGS passed\n");  
   printf("Passed: TEST_C_FLAGS passed\n");  
 #endif  
 #endif  
+#endif
   return 1;
   return 1;
 }
 }

+ 2 - 0
Tests/ComplexRelativePaths/Library/testConly.c

@@ -2,11 +2,13 @@
 
 
 int CsharedFunction()
 int CsharedFunction()
 {
 {
+#if !defined(_WIN32) || defined(__CYGWIN__)
 #ifndef TEST_C_FLAGS
 #ifndef TEST_C_FLAGS
   printf("TEST_C_FLAGS failed\n");
   printf("TEST_C_FLAGS failed\n");
   return 0;
   return 0;
 #else
 #else
   printf("Passed: TEST_C_FLAGS passed\n");  
   printf("Passed: TEST_C_FLAGS passed\n");  
 #endif  
 #endif  
+#endif
   return 1;
   return 1;
 }
 }