summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--VC2008/MCServer.vcproj27
-rw-r--r--source/md5/md5.cpp4
2 files changed, 27 insertions, 4 deletions
diff --git a/VC2008/MCServer.vcproj b/VC2008/MCServer.vcproj
index 9261c4330..abc362484 100644
--- a/VC2008/MCServer.vcproj
+++ b/VC2008/MCServer.vcproj
@@ -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"
diff --git a/source/md5/md5.cpp b/source/md5/md5.cpp
index ddbd1a381..e1012d268 100644
--- a/source/md5/md5.cpp
+++ b/source/md5/md5.cpp
@@ -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