mirror of
https://github.com/google/sentencepiece.git
synced 2024-09-11 10:55:42 +03:00
Update common.h
This commit is contained in:
parent
96aabaef96
commit
3c2fc666dd
@ -75,7 +75,9 @@ char (&ArraySizeHelper(const T (&array)[N]))[N];
|
||||
|
||||
namespace sentencepiece {
|
||||
namespace util {
|
||||
#ifndef OS_WIN
|
||||
inline uint32 Swap32(uint32 x) { return __builtin_bswap32(x); }
|
||||
#endif // OS_WIN
|
||||
} // namespace util
|
||||
|
||||
namespace error {
|
||||
|
Loading…
Reference in New Issue
Block a user