Skip to content

Commit

Permalink
Support MinGW (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtonmeuser committed May 9, 2023
1 parent f8fcfd7 commit 13f3bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/wasm.h
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 include/wasm.hh
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 13f3bfd

Please sign in to comment.