summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 14:03:04 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 14:03:04 +0200
commit0e7bef44523b378f66f65a67348bb6d08d3c5a67 (patch)
treee10b7ee1b770cfac0d22f1488320b2e1230762a3
parentFixed MSVC project for Squirrel lib, no more linker warnings about vc90.pdb (diff)
downloadcuberite-0e7bef44523b378f66f65a67348bb6d08d3c5a67.tar
cuberite-0e7bef44523b378f66f65a67348bb6d08d3c5a67.tar.gz
cuberite-0e7bef44523b378f66f65a67348bb6d08d3c5a67.tar.bz2
cuberite-0e7bef44523b378f66f65a67348bb6d08d3c5a67.tar.lz
cuberite-0e7bef44523b378f66f65a67348bb6d08d3c5a67.tar.xz
cuberite-0e7bef44523b378f66f65a67348bb6d08d3c5a67.tar.zst
cuberite-0e7bef44523b378f66f65a67348bb6d08d3c5a67.zip
-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