summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Configure.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-05-12 17:43:03 (GMT)
committerBrad King <brad.king@kitware.com>2003-05-12 17:43:03 (GMT)
commit3651096aadd2993432f7388cd8c5aaf740f785a6 (patch)
tree029b658bc7ecbe683d20a11cba8d30f6a785fc65 /Source/kwsys/Configure.hxx.in
parenta63e6b5af3f188232a40a09a75fff43e7b8b8a13 (diff)
downloadCMake-3651096aadd2993432f7388cd8c5aaf740f785a6.zip
CMake-3651096aadd2993432f7388cd8c5aaf740f785a6.tar.gz
CMake-3651096aadd2993432f7388cd8c5aaf740f785a6.tar.bz2
ENH: Added KWSYS_FORCE_OLD_STREAMS option to force use of non-ansi stream headers even if they are available.
Diffstat (limited to 'Source/kwsys/Configure.hxx.in')
-rw-r--r--Source/kwsys/Configure.hxx.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.hxx.in b/Source/kwsys/Configure.hxx.in
index 1c548ba..367f887 100644
--- a/Source/kwsys/Configure.hxx.in
+++ b/Source/kwsys/Configure.hxx.in
@@ -23,6 +23,10 @@
#cmakedefine KWSYS_NO_ANSI_STRING_STREAM
#cmakedefine KWSYS_NO_ANSI_FOR_SCOPE
+#if defined(__GNUC__) && (__GNUC__ < 3)
+# define KWSYS_FAKE_STD_NAMESPACE
+#endif
+
#if defined(KWSYS_NO_STD_NAMESPACE)
# define kwsys_std
#else