From 13f3bfd5280777c4b00848315617527728a294b2 Mon Sep 17 00:00:00 2001 From: Ashton Meuser Date: Mon, 8 May 2023 23:38:36 -0700 Subject: [PATCH] Support MinGW (#182) --- include/wasm.h | 2 +- include/wasm.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wasm.h b/include/wasm.h index 5ed4ab2..0447e68 100644 --- a/include/wasm.h +++ b/include/wasm.h @@ -10,7 +10,7 @@ #include #ifndef WASM_API_EXTERN -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__MINGW32__) #define WASM_API_EXTERN __declspec(dllimport) #else #define WASM_API_EXTERN diff --git a/include/wasm.hh b/include/wasm.hh index 81d8f92..c7e284c 100644 --- a/include/wasm.hh +++ b/include/wasm.hh @@ -12,7 +12,7 @@ #include #ifndef WASM_API_EXTERN -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__MINGW32__) #define WASM_API_EXTERN __declspec(dllimport) #else #define WASM_API_EXTERN