Fixed warnings in md5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@703 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
5439d0c482
commit
0e7bef4452
@ -1836,6 +1836,33 @@
|
||||
<File
|
||||
RelativePath="..\source\md5\md5.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release profiled|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS"
|
||||
UsePrecompiledHeader="0"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\md5\md5.h"
|
||||
|
@ -30,13 +30,9 @@ documentation and/or software.
|
||||
|
||||
*/
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
/* 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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user