summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
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;