From 4f8220a543f7425472c5267e7b421181dc816ecb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 May 2012 13:57:52 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@149 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FlashAvatars/FlashAvatars_10.vcxproj | 7 +++---- plugins/FlashAvatars/cflash.cpp | 2 +- plugins/FlashAvatars/stdafx.h | 5 +---- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/plugins/FlashAvatars/FlashAvatars_10.vcxproj b/plugins/FlashAvatars/FlashAvatars_10.vcxproj index 00e794f4c6..9bb0e4f52b 100644 --- a/plugins/FlashAvatars/FlashAvatars_10.vcxproj +++ b/plugins/FlashAvatars/FlashAvatars_10.vcxproj @@ -18,6 +18,7 @@ DynamicLibrary false + Unicode DynamicLibrary @@ -28,11 +29,9 @@ - - @@ -57,7 +56,7 @@ Disabled ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;FlashAvatars_6_EXPORTS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebug @@ -102,7 +101,7 @@ Full OnlyExplicitInline ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;UNICODE;_USRDLL;FlashAvatars_6_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true MultiThreadedDLL true diff --git a/plugins/FlashAvatars/cflash.cpp b/plugins/FlashAvatars/cflash.cpp index a50825ba45..83cb0c1200 100644 --- a/plugins/FlashAvatars/cflash.cpp +++ b/plugins/FlashAvatars/cflash.cpp @@ -680,7 +680,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) pluginLink = link; mir_getMMI(&mmi); mir_getLI(&li); - mir_getLP(&pluginInfoEx); + mir_getLP(&pluginInfo); hHooks[0] = HookEvent(ME_SYSTEM_MODULESLOADED, systemModulesLoaded); diff --git a/plugins/FlashAvatars/stdafx.h b/plugins/FlashAvatars/stdafx.h index 73ee89a6bb..693caae144 100644 --- a/plugins/FlashAvatars/stdafx.h +++ b/plugins/FlashAvatars/stdafx.h @@ -11,14 +11,11 @@ # define _WIN32_IE 0x0501 #endif -#if defined(UNICODE) && !defined(_UNICODE) -# define _UNICODE -#endif - #ifdef _DEBUG # define _STLP_DEBUG 1 #endif +#define _USE_32BIT_TIME_T #define _STLP_DONT_USE_SHORT_STRING_OPTIM 1 // Uses small string buffer, so it saves memory for a lot of strings #define _STLP_USE_PTR_SPECIALIZATIONS 1 // Reduces some code bloat #define _STLP_USE_TEMPLATE_EXPRESSION 1 // Speeds up string concatenation -- cgit v1.2.3