From 0e38286cbb667140631087811610a375c3e64b48 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 21:37:34 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@277 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoRun/autorun.h | 2 ++ plugins/ClientChangeNotify/ClientChangeNotify.cpp | 2 +- plugins/UserGuide/commonheaders.h | 2 ++ plugins/YAPP/common.h | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/AutoRun/autorun.h b/plugins/AutoRun/autorun.h index a991061066..8c621e2546 100644 --- a/plugins/AutoRun/autorun.h +++ b/plugins/AutoRun/autorun.h @@ -1,6 +1,8 @@ #define IDD_OPT_AUTORUN 101 #define IDC_AUTORUN 102 +#define _CRT_SECURE_NO_WARNINGS + #define MIRANDA_VER 0x0A00 #define SUB_KEY "Software\\Microsoft\\Windows\\CurrentVersion\\Run" #define ModuleName "Autorun" diff --git a/plugins/ClientChangeNotify/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/ClientChangeNotify.cpp index 4d14b66e11..d70b76e943 100644 --- a/plugins/ClientChangeNotify/ClientChangeNotify.cpp +++ b/plugins/ClientChangeNotify/ClientChangeNotify.cpp @@ -143,7 +143,7 @@ static int CALLBACK MenuWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar } -static VOID CALLBACK ShowContactMenu(UINT_PTR wParam) +static VOID NTAPI ShowContactMenu(ULONG_PTR wParam) // wParam = hContact { POINT pt; diff --git a/plugins/UserGuide/commonheaders.h b/plugins/UserGuide/commonheaders.h index 9ef8801e05..498dbb5b13 100644 --- a/plugins/UserGuide/commonheaders.h +++ b/plugins/UserGuide/commonheaders.h @@ -1,3 +1,5 @@ +#define _CRT_SECURE_NO_WARNINGS + #define MIRANDA_VER 0x0A00 #include diff --git a/plugins/YAPP/common.h b/plugins/YAPP/common.h index ad45eff2a5..8b11eca6f0 100644 --- a/plugins/YAPP/common.h +++ b/plugins/YAPP/common.h @@ -5,6 +5,8 @@ #pragma once +#define _CRT_SECURE_NO_WARNINGS + // Modify the following defines if you have to target a platform prior to the ones specified below. // Refer to MSDN for the latest info on corresponding values for different platforms. #ifndef WINVER // Allow use of features specific to Windows XP or later. -- cgit v1.2.3