projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
911a541
)
[libcxx] Fix a case of -Wundef warnings. NFC.
author
Martin Storsjö
<martin@martin.st>
Thu, 6 May 2021 07:18:41 +0000
(10:18 +0300)
committer
Martin Storsjö
<martin@martin.st>
Fri, 7 May 2021 08:16:01 +0000
(11:16 +0300)
Differential Revision: https://reviews.llvm.org/D101978
libcxx/src/locale.cpp
patch
|
blob
|
history
diff --git
a/libcxx/src/locale.cpp
b/libcxx/src/locale.cpp
index
e352a34
..
903c78a
100644
(file)
--- a/
libcxx/src/locale.cpp
+++ b/
libcxx/src/locale.cpp
@@
-1139,7
+1139,7
@@
ctype<char>::classic_table() noexcept
return _C_ctype_tab_ + 1;
#elif defined(__GLIBC__)
return _LIBCPP_GET_C_LOCALE->__ctype_b;
-#elif
__sun__
+#elif
defined(__sun__)
return __ctype_mask;
#elif defined(_LIBCPP_MSVCRT) || defined(__MINGW32__)
return __pctype_func();