diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-10 15:23:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-10 15:23:30 (GMT) |
commit | 8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e (patch) | |
tree | 46c5acb695e1191efc016f7abe5a62797bd1e0b3 | |
parent | 384937a420a15560e9892edc41558f0e855bf785 (diff) | |
download | CMake-8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e.zip CMake-8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e.tar.gz CMake-8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e.tar.bz2 |
ENH: only check flag on unix
-rw-r--r-- | Tests/Complex/Library/testConly.c | 2 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Library/testConly.c | 2 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Library/testConly.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/Tests/Complex/Library/testConly.c b/Tests/Complex/Library/testConly.c index 35d6a39..d179b21 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 35d6a39..d179b21 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 35d6a39..d179b21 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; } |