summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-27 17:23:54 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-27 17:23:54 (GMT)
commita30e054641cfe5499abe6dcbb703c347821ea48e (patch)
treeeb5dd7272172cc148e0bc9cf88c891c024485f45 /Source/cmStandardIncludes.h
parentc500078dccbc0a82e33eaac1ca1b55ede1332860 (diff)
downloadCMake-a30e054641cfe5499abe6dcbb703c347821ea48e.zip
CMake-a30e054641cfe5499abe6dcbb703c347821ea48e.tar.gz
CMake-a30e054641cfe5499abe6dcbb703c347821ea48e.tar.bz2
COMP: Use new KWSys IOStream component to help print large file size integer types to streams.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index d817e3e..c2703c1 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -73,6 +73,14 @@ public:
};
#endif
+// Include stream compatibility layer from KWSys.
+// This is needed to work with large file support
+// on some platforms whose stream operators do not
+// support the large integer types.
+#if defined(CMAKE_BUILD_WITH_CMAKE)
+# include <cmsys/IOStream.hxx>
+#endif
+
#ifndef CMAKE_NO_ANSI_STREAM_HEADERS
# include <fstream>
# include <iostream>