From 85ef80c5a3f96e43dd9ab528642862b652abc88f Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 5 Aug 2006 01:17:11 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10844 --- clientgui/stdwx.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/clientgui/stdwx.h b/clientgui/stdwx.h index dce6d9ab1a..788b68f687 100644 --- a/clientgui/stdwx.h +++ b/clientgui/stdwx.h @@ -23,17 +23,6 @@ #ifdef _WIN32 -// Visual Studio 2005 has extended the C Run-Time Library by including "secure" -// runtime functions and deprecating the previous function prototypes. Since -// we need to use the previous prototypes to maintain compatibility with other -// 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. #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later. @@ -113,6 +102,17 @@ #ifdef _WIN32 +// Visual Studio 2005 has extended the C Run-Time Library by including "secure" +// runtime functions and deprecating the previous function prototypes. Since +// we need to use the previous prototypes to maintain compatibility with other +// 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 + // Windows Headers // #include