From 5f7ed69498592fa5a0fb6241ee33aaf5961fcb53 Mon Sep 17 00:00:00 2001 From: Ashton Meuser Date: Sun, 14 May 2023 00:15:17 -0700 Subject: [PATCH] Static lib define (#183) --- 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 0447e68..99a35da 100644 --- a/include/wasm.h +++ b/include/wasm.h @@ -10,7 +10,7 @@ #include #ifndef WASM_API_EXTERN -#if defined(_WIN32) && !defined(__MINGW32__) +#if defined(_WIN32) && !defined(__MINGW32__) && !defined(LIBWASM_STATIC) #define WASM_API_EXTERN __declspec(dllimport) #else #define WASM_API_EXTERN diff --git a/include/wasm.hh b/include/wasm.hh index c7e284c..cb1b304 100644 --- a/include/wasm.hh +++ b/include/wasm.hh @@ -12,7 +12,7 @@ #include #ifndef WASM_API_EXTERN -#if defined(_WIN32) && !defined(__MINGW32__) +#if defined(_WIN32) && !defined(__MINGW32__) && !defined(LIBWASM_STATIC) #define WASM_API_EXTERN __declspec(dllimport) #else #define WASM_API_EXTERN