mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
runtime: repair windows build
The header `dlfcn.h` does not exist for windows targets, guard the including. Correct the structure initializers which had the members inverted. Finally, include the required `vector` header.
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
#include "swift/Runtime/Mutex.h"
|
||||
#include "ImageInspection.h"
|
||||
#include "Private.h"
|
||||
#if !defined(_WIN32)
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
using namespace swift;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user