Переглянути джерело

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

Brad King 19 роки тому
батько
коміт
a30e054641
1 змінених файлів з 8 додано та 0 видалено
  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>