Skip to content

Commit 84c6a28

Browse files
committed
Try fixing picolibc
1 parent 9260a0d commit 84c6a28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libcxx/test/libcxx/system_reserved_names.gen.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# provided macros (in other words, ensure that we push/pop correctly everywhere).
1212

1313
# RUN: %{python} %s %{libcxx-dir}/utils
14+
# END.
1415

1516
import sys
1617

@@ -28,6 +29,9 @@
2829
{lit_header_restrictions.get(header, '')}
2930
{lit_header_undeprecations.get(header, '')}
3031
32+
// This is required to detect the platform we're building for below.
33+
#include <__config>
34+
3135
#define SYSTEM_RESERVED_NAME This name should not be used in libc++
3236
3337
// libc++ does not use single-letter names as a matter of principle.

0 commit comments

Comments
 (0)