diff --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt --- a/libcxx/include/CMakeLists.txt +++ b/libcxx/include/CMakeLists.txt @@ -250,7 +250,6 @@ __support/ibm/xlocale.h __support/musl/xlocale.h __support/newlib/xlocale.h - __support/nuttx/xlocale.h __support/openbsd/xlocale.h __support/solaris/floatingpoint.h __support/solaris/wchar.h diff --git a/libcxx/include/__locale b/libcxx/include/__locale --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -22,8 +22,6 @@ #if defined(_LIBCPP_MSVCRT_LIKE) # include # include <__support/win32/locale_win32.h> -#elif defined(__NuttX__) -# include <__support/nuttx/xlocale.h> #elif defined(_AIX) || defined(__MVS__) # include <__support/ibm/xlocale.h> #elif defined(__ANDROID__) diff --git a/libcxx/include/__support/nuttx/xlocale.h b/libcxx/include/__support/nuttx/xlocale.h deleted file mode 100644 --- a/libcxx/include/__support/nuttx/xlocale.h +++ /dev/null @@ -1,18 +0,0 @@ -// -*- C++ -*- -//===-----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#ifndef _LIBCPP_SUPPORT_NUTTX_XLOCALE_H -#define _LIBCPP_SUPPORT_NUTTX_XLOCALE_H - -#if defined(__NuttX__) -#include <__support/xlocale/__posix_l_fallback.h> -#include <__support/xlocale/__strtonum_fallback.h> -#endif // __NuttX__ - -#endif