6
0
forked from pool/xgboost
Files
xgboost/xgboost-fix-big-endian.patch

12 lines
259 B
Diff

--- dmlc-core/include/dmlc/base.h
+++ dmlc-core/include/dmlc/base.h
@@ -119,7 +119,7 @@
* if this is set to 0, use big endian.
*/
#ifndef DMLC_IO_USE_LITTLE_ENDIAN
-#define DMLC_IO_USE_LITTLE_ENDIAN 1
+#define DMLC_IO_USE_LITTLE_ENDIAN 0
#endif
/*!