summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsysPlatformCxxTests.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-23 16:03:33 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-23 16:03:33 (GMT)
commit032d1d86524fe1748cc7070786655c0ba563ae99 (patch)
tree04a415af48884aab3e549b7bdecd7d5470d54831 /Source/kwsys/kwsysPlatformCxxTests.cxx
parent0bdb092a019c87825a88208d4fdaef77379e3004 (diff)
downloadCMake-032d1d86524fe1748cc7070786655c0ba563ae99.zip
CMake-032d1d86524fe1748cc7070786655c0ba563ae99.tar.gz
CMake-032d1d86524fe1748cc7070786655c0ba563ae99.tar.bz2
ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to main tree. This introduces separate kwsys_ios and kwsys_stl macros needed to support all platforms.
Diffstat (limited to 'Source/kwsys/kwsysPlatformCxxTests.cxx')
-rw-r--r--Source/kwsys/kwsysPlatformCxxTests.cxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/Source/kwsys/kwsysPlatformCxxTests.cxx b/Source/kwsys/kwsysPlatformCxxTests.cxx
new file mode 100644
index 0000000..b2c016b
--- /dev/null
+++ b/Source/kwsys/kwsysPlatformCxxTests.cxx
@@ -0,0 +1,31 @@
+#ifdef TEST_KWSYS_STL_HAVE_STD
+#include <list>
+void f(std::list<int>*) {}
+int main() { return 0; }
+#endif
+
+#ifdef TEST_KWSYS_IOS_HAVE_ANSI
+#include <iosfwd>
+int main() { return 0; }
+#endif
+
+#ifdef TEST_KWSYS_IOS_HAVE_STD
+#include <iosfwd>
+void f(std::ostream*) {}
+int main() { return 0; }
+#endif
+
+#ifdef TEST_KWSYS_IOS_HAVE_SSTREAM
+#include <sstream>
+int main() { return 0; }
+#endif
+
+#ifdef TEST_KWSYS_IOS_HAVE_STRSTREAM_H
+#include <strstream.h>
+int main() { return 0; }
+#endif
+
+#ifdef TEST_KWSYS_IOS_HAVE_STRSTREA_H
+#include <strstrea.h>
+int main() { return 0; }
+#endif