ENH: only check flag on unix
This commit is contained in:
parent
384937a420
commit
8e7e53960e
|
@ -2,11 +2,13 @@
|
|||
|
||||
int CsharedFunction()
|
||||
{
|
||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||
#ifndef TEST_C_FLAGS
|
||||
printf("TEST_C_FLAGS failed\n");
|
||||
return 0;
|
||||
#else
|
||||
printf("Passed: TEST_C_FLAGS passed\n");
|
||||
#endif
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
|
||||
int CsharedFunction()
|
||||
{
|
||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||
#ifndef TEST_C_FLAGS
|
||||
printf("TEST_C_FLAGS failed\n");
|
||||
return 0;
|
||||
#else
|
||||
printf("Passed: TEST_C_FLAGS passed\n");
|
||||
#endif
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
|
||||
int CsharedFunction()
|
||||
{
|
||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||
#ifndef TEST_C_FLAGS
|
||||
printf("TEST_C_FLAGS failed\n");
|
||||
return 0;
|
||||
#else
|
||||
printf("Passed: TEST_C_FLAGS passed\n");
|
||||
#endif
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue