diff options
Diffstat (limited to 'stormlib_dll')
-rw-r--r-- | stormlib_dll/DllMain.c | 6 | ||||
-rw-r--r-- | stormlib_dll/StormLib.def | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/stormlib_dll/DllMain.c b/stormlib_dll/DllMain.c index 1ea4b09..f1b9167 100644 --- a/stormlib_dll/DllMain.c +++ b/stormlib_dll/DllMain.c @@ -12,12 +12,6 @@ #include <windows.h> //----------------------------------------------------------------------------- -// Forwarded exports - -#pragma comment(linker, "/export:GetLastError=Kernel32.GetLastError")
-#pragma comment(linker, "/export:SetLastError=Kernel32.SetLastError") - -//----------------------------------------------------------------------------- // DllMain BOOL WINAPI DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpReserved) diff --git a/stormlib_dll/StormLib.def b/stormlib_dll/StormLib.def index a85f942..4b48b13 100644 --- a/stormlib_dll/StormLib.def +++ b/stormlib_dll/StormLib.def @@ -73,3 +73,6 @@ EXPORTS SCompExplode SCompCompress SCompDecompress + + GetLastError=Kernel32.GetLastError + SetLastError=Kernel32.SetLastError |