diff options
Diffstat (limited to 'libcxx/include/wchar.h')
| -rw-r--r-- | libcxx/include/wchar.h | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/libcxx/include/wchar.h b/libcxx/include/wchar.h index 0fba53b268ae..c684508dc2cc 100644 --- a/libcxx/include/wchar.h +++ b/libcxx/include/wchar.h @@ -120,7 +120,9 @@ size_t wcsrtombs(char* restrict dst, const wchar_t** restrict src, size_t len,  #define __CORRECT_ISO_CPP_WCHAR_H_PROTO  #endif -#include_next <wchar.h> +#  if __has_include_next(<wchar.h>) +#    include_next <wchar.h> +#  endif  // Determine whether we have const-correct overloads for wcschr and friends.  #if defined(_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_) | 
