summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP')
-rw-r--r--plugins/CryptoPP/commonheaders.cpp3
-rw-r--r--plugins/CryptoPP/commonheaders.h7
-rw-r--r--plugins/CryptoPP/main.cpp1
3 files changed, 4 insertions, 7 deletions
diff --git a/plugins/CryptoPP/commonheaders.cpp b/plugins/CryptoPP/commonheaders.cpp
index 30452a36ee..df04c81dfd 100644
--- a/plugins/CryptoPP/commonheaders.cpp
+++ b/plugins/CryptoPP/commonheaders.cpp
@@ -4,7 +4,6 @@ LPCSTR szModuleName = MODULENAME;
LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING")";
HINSTANCE g_hInst;
PLUGINLINK *pluginLink;
-MM_INTERFACE mmi={0};
MUUID interfaces[] = {MIID_CRYPTOPP, MIID_LAST};
HANDLE hPGPPRIV = NULL;
@@ -26,7 +25,7 @@ PLUGININFOEX pluginInfoEx = {
"baloo@bk.ru",
"© 2006-09 Baloo",
"http://miranda-im.org/download/details.php?action=viewfile&id=2669",
- 0, 0,
+ 0, 0,
MIID_CRYPTOPP
};
diff --git a/plugins/CryptoPP/commonheaders.h b/plugins/CryptoPP/commonheaders.h
index 2e9fb4277d..0bcc553f64 100644
--- a/plugins/CryptoPP/commonheaders.h
+++ b/plugins/CryptoPP/commonheaders.h
@@ -9,15 +9,15 @@
#define _SCL_SECURE_NO_WARNINGS
#if _MSC_VER >= 1300
//#pragma comment (compiler,"/GS-")
-//#pragma comment (linker,"/NODEFAULTLIB:libcmt.lib")
+//#pragma comment (linker,"/NODEFAULTLIB:libcmt.lib")
//#pragma comment (lib,"../../lib/msvcrt.lib")
//#pragma comment (lib,"../../lib/msvcrt71.lib")
#else
#ifndef _DEBUG
#pragma optimize("gsy", on)
#endif
-#endif
-#endif
+#endif
+#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
@@ -101,7 +101,6 @@ extern BOOL isVista;
extern HINSTANCE g_hInst;
extern PLUGINLINK *pluginLink;
extern PLUGININFOEX pluginInfoEx;
-//extern MM_INTERFACE mmi;
extern MUUID interfaces[];
extern HANDLE hPGPPRIV;
diff --git a/plugins/CryptoPP/main.cpp b/plugins/CryptoPP/main.cpp
index 4c0a798e52..8ef6c310f5 100644
--- a/plugins/CryptoPP/main.cpp
+++ b/plugins/CryptoPP/main.cpp
@@ -57,7 +57,6 @@ int Load(PLUGINLINK *link) {
DisableThreadLibraryCalls(g_hInst);
// get memoryManagerInterface address
- mir_getMMI( &mmi );
mir_getLP(&pluginInfoEx);
// register plugin module