Get wasmtime building on Windows. (#92)

* Get wasmtime building on Windows.

Requires LLVM binaries from http://releases.llvm.org/download.html at
build time (bindgen).
This commit is contained in:
Henrik Rydgård
2019-04-03 15:50:38 +02:00
committed by Dan Gohman
parent 474809f5f3
commit f5ebdb8e6a
3 changed files with 16 additions and 7 deletions

View File

@@ -13,8 +13,10 @@
#include <stdio.h>
#if defined(_WIN32)
# include <winternl.h> // must include before util/Windows.h's `#undef`s
# include "util/Windows.h"
# include <windows.h>
# include <winternl.h>
#elif defined(USE_APPLE_MACH_PORTS)
# include <mach/exc.h>
# include <mach/mach.h>