Преглед на файлове

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>