[libcxx-commits] [libcxx] 6b349a9 - [libc++] Remove <features.h> include from <__config> (#205549)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 24 05:58:47 PDT 2026


Author: Nikolas Klauser
Date: 2026-06-24T14:58:42+02:00
New Revision: 6b349a9d00b366a90dc9b79e2b5543fc8774b019

URL: https://github.com/llvm/llvm-project/commit/6b349a9d00b366a90dc9b79e2b5543fc8774b019
DIFF: https://github.com/llvm/llvm-project/commit/6b349a9d00b366a90dc9b79e2b5543fc8774b019.diff

LOG: [libc++] Remove <features.h> include from <__config> (#205549)

The include was moved to `<__configuration/platform.h>` in #205548,
which was also supposed to remove the include in `<__config>`.

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index 802440bae5ef6..fc7a121d52783 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -66,10 +66,6 @@
 #    define _LIBCPP_ABI_VCRUNTIME
 #  endif
 
-#  if defined(__MVS__)
-#    include <features.h> // for __NATIVE_ASCII_F
-#  endif
-
 #  if defined(_WIN32)
 #    define _LIBCPP_WIN32API
 #    define _LIBCPP_SHORT_WCHAR 1


        


More information about the libcxx-commits mailing list