Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion libcxx/include/__configuration/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
// This is required in order for _NEWLIB_VERSION to be defined in places where we use it.
// TODO: We shouldn't be including arbitrarily-named headers from libc++ since this can break valid
// user code. Move code paths that need _NEWLIB_VERSION to another customization mechanism.
#if __has_include(<picolibc.h>)
#if __has_include(<_newlib_version.h>)
# include <_newlib_version.h>
#elif __has_include(<picolibc.h>)
# include <picolibc.h>
#endif

Expand Down
Loading