diff options
author | Taku Kudo <taku@google.com> | 2020-10-13 20:07:59 +0300 |
---|---|---|
committer | Taku Kudo <taku@google.com> | 2020-10-13 20:07:59 +0300 |
commit | 45679f49bd5726208930382db09a9d0493ef002d (patch) | |
tree | f112f1f6aeff8485d72c7833084c9053c197cdd4 | |
parent | e59c835e45a2e52cc60eaa0d7649994630178674 (diff) |
changed macro big endian
-rw-r--r-- | src/util.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -36,12 +36,11 @@ #include <pthread.h> #endif -#if __BYTE_ORDER == __BIG_ENDIAN +#if !defined(__APPLE__) && BYTE_ORDER == __BIG_ENDIAN #define IS_BIG_ENDIAN #endif namespace sentencepiece { - template <typename T> std::ostream &operator<<(std::ostream &out, const std::vector<T> &v) { for (const auto n : v) { |