From a8a4b1f5daf796fc701bf6fb3ab80ae221cc9671 Mon Sep 17 00:00:00 2001 From: mittorn Date: Wed, 2 Nov 2016 23:30:43 +0600 Subject: [PATCH] Fix new interface on windows --- dlls/h_export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/h_export.cpp b/dlls/h_export.cpp index 5fec1929..d0451906 100644 --- a/dlls/h_export.cpp +++ b/dlls/h_export.cpp @@ -94,7 +94,7 @@ NEW_DLL_FUNCTIONS gNewDLLFunctions = }; -extern "C" int GetNewDLLFunctions(NEW_DLL_FUNCTIONS *pFunctionTable, int *interfaceVersion) +extern "C" int DLLEXPORT EXPORT2 GetNewDLLFunctions(NEW_DLL_FUNCTIONS *pFunctionTable, int *interfaceVersion) { if(!pFunctionTable || *interfaceVersion != NEW_DLL_FUNCTIONS_VERSION) {