mirror of https://github.com/status-im/evmc.git
Merge pull request #51 from ethereum/utils
utils: Properly resolve EVMC_EXPORT on mingw
This commit is contained in:
commit
79eab88a5e
|
@ -5,7 +5,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined _MSC_VER || defined __MINGW32__
|
||||
#define EVMC_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define EVMC_EXPORT __attribute__((visibility("default")))
|
||||
|
|
|
@ -4,3 +4,5 @@
|
|||
*/
|
||||
|
||||
#include <evmc/evmc.h>
|
||||
#include <evmc/utils.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue