Bläddra i källkod

COMP: Use new KWSys IOStream component to help print large file size integer types to streams.

Brad King 19 år sedan
förälder
incheckning
a30e054641
1 ändrade filer med 8 tillägg och 0 borttagningar
  1. 8 0
      Source/cmStandardIncludes.h

+ 8 - 0
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>