summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-10 15:23:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-10 15:23:30 (GMT)
commit8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e (patch)
tree46c5acb695e1191efc016f7abe5a62797bd1e0b3 /Tests/ComplexOneConfig
parent384937a420a15560e9892edc41558f0e855bf785 (diff)
downloadCMake-8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e.zip
CMake-8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e.tar.gz
CMake-8e7e53960e4e7ecb34f04e7d2679afc05cb81c3e.tar.bz2
ENH: only check flag on unix
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r--Tests/ComplexOneConfig/Library/testConly.c2
1 files changed, 2 insertions, 0 deletions
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;
}