diff options
author | Brad King <brad.king@kitware.com> | 2006-08-27 17:23:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-27 17:23:54 (GMT) |
commit | a30e054641cfe5499abe6dcbb703c347821ea48e (patch) | |
tree | eb5dd7272172cc148e0bc9cf88c891c024485f45 /Source/cmStandardIncludes.h | |
parent | c500078dccbc0a82e33eaac1ca1b55ede1332860 (diff) | |
download | CMake-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.h | 8 |
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> |