From 69d2a2234ce338cde4808db1e48cb3f209a449d4 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Thu, 29 May 2008 01:34:53 +0000 Subject: [PATCH] Fix Ticket #1768 by including [SVN r45894] --- src/error_code.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/error_code.cpp b/src/error_code.cpp index 02a4cf8..f43eb9a 100644 --- a/src/error_code.cpp +++ b/src/error_code.cpp @@ -9,14 +9,7 @@ //----------------------------------------------------------------------------// -// VC++ 8.0 warns on usage of certain Standard Library and API functions that -// can be cause buffer overruns or other possible security issues if misused. -// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx -// But the wording of the warning is misleading and unsettling, there are no -// portable alternative functions, and VC++ 8.0's own libraries use the -// functions in question. So turn off the warnings. -#define _CRT_SECURE_NO_DEPRECATE -#define _SCL_SECURE_NO_DEPRECATE +#include // define BOOST_SYSTEM_SOURCE so that knows // the library is being built (possibly exporting rather than importing code)