[libcxx-commits] [PATCH] D101978: [libcxx] Fix a case of -Wundef warnings. NFC.

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 7 01:16:20 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdafbfb1d1d8e: [libcxx] Fix a case of -Wundef warnings. NFC. (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101978/new/

https://reviews.llvm.org/D101978

Files:
  libcxx/src/locale.cpp


Index: libcxx/src/locale.cpp
===================================================================
--- libcxx/src/locale.cpp
+++ libcxx/src/locale.cpp
@@ -1139,7 +1139,7 @@
     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();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101978.343606.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210507/fb00b313/attachment-0001.bin>


More information about the libcxx-commits mailing list