diff options
Diffstat (limited to 'community/flatbuffers/locale-headers.patch')
-rw-r--r-- | community/flatbuffers/locale-headers.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/flatbuffers/locale-headers.patch b/community/flatbuffers/locale-headers.patch new file mode 100644 index 00000000000..aaef52f887d --- /dev/null +++ b/community/flatbuffers/locale-headers.patch @@ -0,0 +1,13 @@ +diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h +index ac8db35..859e780 100644 +--- a/include/flatbuffers/base.h ++++ b/include/flatbuffers/base.h +@@ -270,7 +270,7 @@ namespace flatbuffers { + // strtoull_l}. + #if (defined(_MSC_VER) && _MSC_VER >= 1800) || \ + (defined(__ANDROID_API__) && __ANDROID_API__>= 21) || \ +- (defined(_XOPEN_VERSION) && (_XOPEN_VERSION >= 700)) && \ ++ (defined(__GLIBC__) && defined(_XOPEN_VERSION) && (_XOPEN_VERSION >= 700)) && \ + (!defined(__Fuchsia__) && !defined(__ANDROID_API__)) + #define FLATBUFFERS_LOCALE_INDEPENDENT 1 + #else |