Skip to content

Commit 860f2ac

Browse files
committed
[libc++](NFC) Remove unused include caused by wrong __has_include
The parameter passed to __has_include has to be quoted by `<>` or `"`, not both. Due to this typo, the guarded header is never included. No problem has been reported by unconditionally skip of including, so it would be safe to simply remove the conditionally include block.
1 parent 6cac792 commit 860f2ac

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libcxx/src/locale.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
# define _CTYPE_DISABLE_MACROS
3535
#endif
3636

37-
#if __has_include("<langinfo.h>")
38-
# include <langinfo.h>
39-
#endif
40-
4137
#include "include/atomic_support.h"
4238
#include "include/sso_allocator.h"
4339

0 commit comments

Comments
 (0)