summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-10 11:23:30 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-10 11:23:30 -0400
commit8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e (patch)
tree46c5acb695e1191efc016f7abe5a62797bd1e0b3 /Tests
parent384937a420a15560e9892edc41558f0e855bf785 (diff)
downloadcmake-8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e.tar.gz
ENH: only check flag on unix
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Complex/Library/testConly.c2
-rw-r--r--Tests/ComplexOneConfig/Library/testConly.c2
-rw-r--r--Tests/ComplexRelativePaths/Library/testConly.c2
3 files changed, 6 insertions, 0 deletions
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;
}