8000 Fix compile error on clang (#6884) · mnemosdev/arangodb@f003d72 · GitHub
[go: up one dir, main page]

Skip to content

Commit f003d72

Browse files
goedderzAndrey Abramov
authored and
Andrey Abramov
committed
Fix compile error on clang (arangodb#6884)
1 parent d1b3a1e commit f003d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdParty/iresearch/core/utils/locale_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ NS_BEGIN(std)
8787
// std::codecvt<char16_t, char, mbstate_t>::id or std::codecvt<char32_t, char, mbstate_t>::id
8888
// this causes linking issues in optimized code
8989
// Note: clang tries to pretend to be GCC, so it must be explicitly excluded
90-
#if !defined(__APPLE__) && defined(__GNUC__) && (__GNUC__ < 5)
90+
#if !defined(__APPLE__) && !defined(__clang__) && defined(__GNUC__) && (__GNUC__ < 5)
9191
/*static*/ template<> locale::id codecvt<char16_t, char, mbstate_t>::id;
9292
/*static*/ template<> locale::id codecvt<char32_t, char, mbstate_t>::id;
9393
#endif

0 commit comments

Comments
 (0)
0