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 5b32645 commit 7cd5e5bCopy full SHA for 7cd5e5b
stdlib/public/runtime/Metadata.cpp
@@ -42,13 +42,6 @@
42
// Avoid defining macro max(), min() which conflict with std::max(), std::min()
43
#define NOMINMAX
44
#include <windows.h>
45
-#else
46
-#include <sys/mman.h>
47
-#include <unistd.h>
48
-// WASI doesn't support dynamic linking yet.
49
-#if !defined(__wasi__)
50
-#include <dlfcn.h>
51
-#endif // !defined(__wasi__)
52
#endif
53
#if SWIFT_PTRAUTH
54
#include <ptrauth.h>
@@ -65,10 +58,6 @@ extern "C" void _objc_setClassCopyFixupHandler(void (* _Nonnull newFixupHandler)
65
58
#include "swift/Runtime/Debug.h"
66
59
#include "Private.h"
67
60
68
-#if defined(__APPLE__)
69
-#include <mach/vm_page_size.h>
70
-#endif
71
-
72
61
#if SWIFT_OBJC_INTEROP
73
62
#include "ObjCRuntimeGetImageNameFromClass.h"
74
63
0 commit comments