We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e71f92 commit a2fc8c3Copy full SHA for a2fc8c3
stdlib/public/SwiftShims/swift/shims/_SwiftBacktracing.h
@@ -29,10 +29,19 @@
29
30
#include <CoreFoundation/CFUUID.h>
31
#include <CoreFoundation/CFString.h>
32
-#endif
33
34
-#if TARGET_OS_OSX
+#if __has_include(<libproc.h>)
35
#include <libproc.h>
+#else
36
+#ifdef __cplusplus
37
+extern "C" {
38
+#endif
39
+extern int proc_name(int pid, void * buffer, uint32_t buffersize);
40
41
+}
42
43
44
+
45
#endif
46
47
#ifdef __cplusplus
0 commit comments