summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsys_std_sstream.h.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/kwsys_std_sstream.h.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/kwsys_std_sstream.h.in')
-rw-r--r--Source/kwsys/kwsys_std_sstream.h.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/kwsys/kwsys_std_sstream.h.in b/Source/kwsys/kwsys_std_sstream.h.in
index 3bd32af..1d30593 100644
--- a/Source/kwsys/kwsys_std_sstream.h.in
+++ b/Source/kwsys/kwsys_std_sstream.h.in
@@ -37,8 +37,7 @@
# include <strstream>
# else
# include <strstream.h>
-# if !defined(KWSYS_NO_STD_NAMESPACE)
-
+# if !defined(KWSYS_NO_STD_NAMESPACE) && !defined(KWSYS_FAKE_STD_NAMESPACE)
namespace std
{
using ::ostream;
@@ -50,7 +49,6 @@ namespace std
using ::ends;
using ::flush;
}
-
# endif
# endif
# ifdef _MSC_VER