From 926900cedb910fa8fc3e9239439c5ce34ecd95e0 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 18 Apr 2006 04:26:56 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9950 --- clientgui/stdwx.h | 9 ++++++++- lib/boinc_win.h | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/clientgui/stdwx.h b/clientgui/stdwx.h index d381ba750c..d92a2e1efa 100644 --- a/clientgui/stdwx.h +++ b/clientgui/stdwx.h @@ -29,7 +29,9 @@ // platforms we are going to disable the deprecation warnings if we are compiling // on Visual Studio 2005 #if _MSC_VER >= 1400 -#pragma warning(disable: 4996) // function deprecation +#ifndef _CRT_SECURE_NO_DEPRECATE +#define _CRT_SECURE_NO_DEPRECATE +#endif #endif // Modify the following defines if you have to target a platform prior to the ones specified below. @@ -109,6 +111,11 @@ #if wxUSE_ACCESSIBILITY #include +#else + #pragma message("") + #pragma message("wxUSE_ACCESSIBILITY is not defined in setup.h for the wxWidgets library.") + #pragma message("***** Accessibility features are disabled *****") + #pragma message("") #endif // wxUSE_ACCESSIBILITY #include "wx/msw/ole/oleutils.h" diff --git a/lib/boinc_win.h b/lib/boinc_win.h index 0db458bba4..4502dfc3bb 100644 --- a/lib/boinc_win.h +++ b/lib/boinc_win.h @@ -38,8 +38,10 @@ // platforms we are going to disable the deprecation warnings if we are compiling // on Visual Studio 2005 #if _MSC_VER >= 1400 +#ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #endif +#endif // 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.