瀏覽代碼

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>