[SourceKit] Make the SourceKit plugin infrastructure buildable on Linux and Windows

This commit is contained in:
Alex Hoppen
2025-01-05 11:25:05 +01:00
parent 40b91aa97a
commit aeac681bae
5 changed files with 290 additions and 39 deletions

View File

@@ -17,6 +17,7 @@
#define NOMINMAX
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Windows/WindowsSupport.h"
#include "swift/Basic/LLVM.h"
#include <windows.h>
#else
#include <dlfcn.h>