From e65d28484d3467bf34ab1749aca8a3a43d31b7b2 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 15 Jul 2012 14:02:05 +0000 Subject: Disabled MSVC deprecation / security warnings for external libraries - we expect them to be secure enough git-svn-id: http://mc-server.googlecode.com/svn/trunk@668 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/md5/md5.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source') diff --git a/source/md5/md5.cpp b/source/md5/md5.cpp index 39337da5d..ddbd1a381 100644 --- a/source/md5/md5.cpp +++ b/source/md5/md5.cpp @@ -35,6 +35,8 @@ documentation and/or software. /* interface header */ #include "md5.h" +// _X 2012_07_15: disable MSVC warnings on "insecure" functions, such as sprintf() - we know they're being used securely here +#define _CRT_SECURE_NO_WARNINGS -- cgit v1.2.3