1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/flatbuffers/locale-headers.patch
2022-08-24 13:08:31 +00:00

13 lines
612 B
Diff

diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h
index beeb35d..53fed19 100644
--- a/include/flatbuffers/base.h
+++ b/include/flatbuffers/base.h
@@ -264,7 +264,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