Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaku Kudo <taku@google.com>2020-10-13 20:34:23 +0300
committerTaku Kudo <taku@google.com>2020-10-13 20:34:23 +0300
commit909f4bdc0140630ad0c9625c67373a62f99d525e (patch)
tree46559004862114aa015c4a028004e22a40ea71bd
parent45679f49bd5726208930382db09a9d0493ef002d (diff)
changed macro big endian
-rw-r--r--src/util.h2
-rwxr-xr-xtest.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 94b78cf..176a363 100644
--- a/src/util.h
+++ b/src/util.h
@@ -36,7 +36,7 @@
#include <pthread.h>
#endif
-#if !defined(__APPLE__) && BYTE_ORDER == __BIG_ENDIAN
+#if !defined(__APPLE__) && !defined(_WIN32) && BYTE_ORDER == __BIG_ENDIAN
#define IS_BIG_ENDIAN
#endif
diff --git a/test.sh b/test.sh
index 59b546c..339e03f 100755
--- a/test.sh
+++ b/test.sh
@@ -45,7 +45,7 @@ build_generic() {
cd build
cmake .. -DSPM_BUILD_TEST=ON
make -j2
- make test
+ make CTEST_OUTPUT_ON_FAILURE=1 test
make package_source
cd ..
}