Skip to content

Commit

Permalink
[libc++] Only include_next <wctype.h> if it exists
Browse files Browse the repository at this point in the history
This allows building on platforms that don't provide that header.
  • Loading branch information
ldionne committed Nov 17, 2020
1 parent 1d7abcf commit 121f27f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libcxx/include/wctype.h
Expand Up @@ -50,7 +50,9 @@ wctrans_t wctrans(const char* property);
#pragma GCC system_header
#endif

#include_next <wctype.h>
#if __has_include_next(<wctype.h>)
# include_next <wctype.h>
#endif

#ifdef __cplusplus

Expand Down

0 comments on commit 121f27f

Please sign in to comment.