aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src
diff options
context:
space:
mode:
authorTomohiro Kashiwada <kikairoya@gmail.com>2025-06-03 02:12:40 +0900
committerGitHub <noreply@github.com>2025-06-02 13:12:40 -0400
commit11c3e65e1d791f3de2d4b6fddf7f76eab3a8cd26 (patch)
tree2cda2849d1f7ace812e34fc95966a1ab4d50ca01 /libcxx/src
parent05f1ca7d17e46510a41992cedc6ff062940aa7b4 (diff)
downloadllvm-11c3e65e1d791f3de2d4b6fddf7f76eab3a8cd26.zip
llvm-11c3e65e1d791f3de2d4b6fddf7f76eab3a8cd26.tar.gz
llvm-11c3e65e1d791f3de2d4b6fddf7f76eab3a8cd26.tar.bz2
[libc++] Remove unused include caused by wrong __has_include (#141328)
The parameter passed to __has_include has to be quoted by `<>` or `"`, not both.
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/locale.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp
index b3ec2895..30a7a54 100644
--- a/libcxx/src/locale.cpp
+++ b/libcxx/src/locale.cpp
@@ -34,10 +34,6 @@
# define _CTYPE_DISABLE_MACROS
#endif
-#if __has_include("<langinfo.h>")
-# include <langinfo.h>
-#endif
-
#include "include/atomic_support.h"
#include "include/sso_allocator.h"