Update common.h

This commit is contained in:
Taku Kudo 2023-12-24 02:00:56 +09:00 committed by GitHub
parent 96aabaef96
commit 3c2fc666dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {