Skip to content

Commit

Permalink
Support MinGW (#3849)
Browse files Browse the repository at this point in the history
Co-authored-by: ptitSeb <[email protected]>
  • Loading branch information
ashtonmeuser and ptitSeb authored May 9, 2023
1 parent b4f431f commit a32fb73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/c-api/tests/wasm-c-api/include/wasm.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <assert.h>

#ifndef WASM_API_EXTERN
#ifdef _WIN32
#if defined(_WIN32) && !defined(__MINGW32__)
#define WASM_API_EXTERN __declspec(dllimport)
#else
#define WASM_API_EXTERN
Expand Down
2 changes: 1 addition & 1 deletion lib/c-api/tests/wasm-c-api/include/wasm.hh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <string>

#ifndef WASM_API_EXTERN
#ifdef _WIN32
#if defined(_WIN32) && !defined(__MINGW32__)
#define WASM_API_EXTERN __declspec(dllimport)
#else
#define WASM_API_EXTERN
Expand Down

0 comments on commit a32fb73

Please sign in to comment.