summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-11 19:13:12 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-11 19:13:12 +0000
commit7454d18fcf2ecbeb410d8417e71c38029eb5a327 (patch)
tree35422e6a94141bc4fc806aff68843a1513a73e88 /plugins/MirLua
parente521cf5548352e7a443241e10614f97bc9630a2c (diff)
MirLua: some fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@14119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp
index ae95013c1a..715f9fcfd7 100644
--- a/plugins/MirLua/src/main.cpp
+++ b/plugins/MirLua/src/main.cpp
@@ -65,9 +65,6 @@ void LoadScripts(const TCHAR *scriptDir)
}
}
-#include <io.h>
-#include <fcntl.h>
-
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
@@ -101,11 +98,9 @@ extern "C" int __declspec(dllexport) Load(void)
extern "C" int __declspec(dllexport) Unload(void)
{
-#ifdef _DEBUG
if (hConsole)
CloseHandle(hConsole);
FreeConsole();
-#endif
delete mLua;