summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-01-02 14:34:22 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-01-02 14:34:22 +0000
commit90cac394f9e49fb2ccc5e588dd78e093e0510c4e (patch)
treeacf914658e21f60982dd6a337dec0fa4c3d4d85a /plugins/MirLua/src/stdafx.h
parent7e52ce761a2b20c48da31b84a4f54fa7f00a3ee7 (diff)
MirLua: added setting c libs path via folders plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@15992 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r--plugins/MirLua/src/stdafx.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index d781edee8b..f791f4a183 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -56,14 +56,21 @@ extern int hScriptsLangpack;
extern HINSTANCE g_hInstance;
-extern HANDLE g_hCommonScriptFolder;
+extern HANDLE g_hCLibsFolder;
+extern HANDLE g_hScriptsFolder;
extern HANDLE hNetlib;
#ifdef _UNICODE
- #define COMMON_SCRIPTS_PATHT MIRANDA_PATHW L"\\Scripts"
+#define MIRLUA_CPATHT MIRANDA_PATHW L""
#else
- #define COMMON_SCRIPTS_PATHT MIRANDA_PATH "\\Scripts"
+#define MIRLUA_CPATHT MIRANDA_PATH ""
+#endif
+
+#ifdef _UNICODE
+ #define MIRLUA_PATHT MIRANDA_PATHW L"\\Scripts"
+#else
+ #define MIRLUA_PATHT MIRANDA_PATH "\\Scripts"
#endif
#define MLUA_CORE "m_core"