Skip to content

Commit 1e71f92

Browse files
committed
[Backtracing] Don't try to include <libproc.h> for iOS.
iOS doesn't have <libproc.h>. We don't need it anyway there. rdar://104336548
1 parent af57b2c commit 1e71f92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/SwiftShims/swift/shims/_SwiftBacktracing.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929

3030
#include <CoreFoundation/CFUUID.h>
3131
#include <CoreFoundation/CFString.h>
32+
#endif
3233

34+
#if TARGET_OS_OSX
3335
#include <libproc.h>
3436
#endif
3537

0 commit comments

Comments
 (0)