From 8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 10 Apr 2002 11:23:30 -0400 Subject: [PATCH] ENH: only check flag on unix --- Tests/Complex/Library/testConly.c | 2 ++ Tests/ComplexOneConfig/Library/testConly.c | 2 ++ Tests/ComplexRelativePaths/Library/testConly.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Tests/Complex/Library/testConly.c b/Tests/Complex/Library/testConly.c index 35d6a399cc..d179b21810 100644 --- a/Tests/Complex/Library/testConly.c +++ b/Tests/Complex/Library/testConly.c @@ -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; } diff --git a/Tests/ComplexOneConfig/Library/testConly.c b/Tests/ComplexOneConfig/Library/testConly.c index 35d6a399cc..d179b21810 100644 --- a/Tests/ComplexOneConfig/Library/testConly.c +++ b/Tests/ComplexOneConfig/Library/testConly.c @@ -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; } diff --git a/Tests/ComplexRelativePaths/Library/testConly.c b/Tests/ComplexRelativePaths/Library/testConly.c index 35d6a399cc..d179b21810 100644 --- a/Tests/ComplexRelativePaths/Library/testConly.c +++ b/Tests/ComplexRelativePaths/Library/testConly.c @@ -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; }