Merge pull request #51 from ethereum/utils

utils: Properly resolve EVMC_EXPORT on mingw
This commit is contained in:
Alex Beregszaszi 2018-08-01 16:09:44 +01:00 committed by GitHub
commit 79eab88a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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")))

View File

@ -4,3 +4,5 @@
*/
#include <evmc/evmc.h>
#include <evmc/utils.h>