From b79037ea8145e562e43784c741db1766cf682ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 9 May 2019 07:55:04 +0200 Subject: [PATCH] examples: Export precompiles_vm create function --- examples/example_precompiles_vm/example_precompiles_vm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/example_precompiles_vm/example_precompiles_vm.cpp b/examples/example_precompiles_vm/example_precompiles_vm.cpp index 2273d7b2c..096b996c0 100644 --- a/examples/example_precompiles_vm/example_precompiles_vm.cpp +++ b/examples/example_precompiles_vm/example_precompiles_vm.cpp @@ -4,6 +4,7 @@ */ #include +#include #include static evmc_result execute_identity(const evmc_message* msg) @@ -96,7 +97,7 @@ static evmc_result execute(evmc_instance*, } } -extern "C" evmc_instance* evmc_create_example_precompiles_vm() +extern "C" EVMC_EXPORT evmc_instance* evmc_create_example_precompiles_vm() { static struct evmc_instance instance = { EVMC_ABI_VERSION,