mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 09:02:17 +00:00
Remove auto including locale functions (#7430)
This commit is contained in:
@@ -260,9 +260,12 @@ namespace flatbuffers {
|
|||||||
#endif // !FLATBUFFERS_HAS_NEW_STRTOD
|
#endif // !FLATBUFFERS_HAS_NEW_STRTOD
|
||||||
|
|
||||||
#ifndef FLATBUFFERS_LOCALE_INDEPENDENT
|
#ifndef FLATBUFFERS_LOCALE_INDEPENDENT
|
||||||
// Enable locale independent functions {strtof_l, strtod_l,strtoll_l, strtoull_l}.
|
// Enable locale independent functions {strtof_l, strtod_l,strtoll_l,
|
||||||
#if ((defined(_MSC_VER) && _MSC_VER >= 1800) || \
|
// strtoull_l}.
|
||||||
(defined(_XOPEN_VERSION) && (_XOPEN_VERSION>=700)) && (!defined(__ANDROID_API__) || (defined(__ANDROID_API__) && (__ANDROID_API__>=21))))
|
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || \
|
||||||
|
(defined(__ANDROID_API__) && __ANDROID_API__>= 21) || \
|
||||||
|
(defined(_XOPEN_VERSION) && (_XOPEN_VERSION >= 700)) && \
|
||||||
|
(!defined(__Fuchsia__) && !defined(__ANDROID_API__))
|
||||||
#define FLATBUFFERS_LOCALE_INDEPENDENT 1
|
#define FLATBUFFERS_LOCALE_INDEPENDENT 1
|
||||||
#else
|
#else
|
||||||
#define FLATBUFFERS_LOCALE_INDEPENDENT 0
|
#define FLATBUFFERS_LOCALE_INDEPENDENT 0
|
||||||
|
|||||||
Reference in New Issue
Block a user