Skip to content

Commit b77499f

Browse files
authored
Merge pull request #26046 from drodriguez/android-fix-cxx-interop-2
[android] Include api-level.h for Android and C++ interop.
2 parents 9e4c054 + da3ff59 commit b77499f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/SwiftShims/LibcShims.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
#include "SwiftStddef.h"
2424
#include "Visibility.h"
2525

26+
#if defined(__ANDROID__)
27+
#include <android/api-level.h>
28+
#endif
29+
2630
#if __has_feature(nullability)
2731
#pragma clang assume_nonnull begin
2832
#endif

0 commit comments

Comments
 (0)