diff --git a/build/VStudio/testing/winfsp-tests.vcxproj b/build/VStudio/testing/winfsp-tests.vcxproj
index 18af2b63..9251d9ae 100644
--- a/build/VStudio/testing/winfsp-tests.vcxproj
+++ b/build/VStudio/testing/winfsp-tests.vcxproj
@@ -102,7 +102,7 @@
__func__=__FUNCTION__;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
..\..\..\src;..\..\..\inc;..\..\..\ext
- MultiThreadedDebugDLL
+ MultiThreadedDLL
Console
@@ -118,7 +118,7 @@
__func__=__FUNCTION__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
..\..\..\src;..\..\..\inc;..\..\..\ext
- MultiThreadedDebugDLL
+ MultiThreadedDLL
Console
diff --git a/tst/winfsp-tests/memfs.cpp b/tst/winfsp-tests/memfs.cpp
index 519c0e75..a05b35e4 100644
--- a/tst/winfsp-tests/memfs.cpp
+++ b/tst/winfsp-tests/memfs.cpp
@@ -4,6 +4,7 @@
* @copyright 2015 Bill Zissimopoulos
*/
+#undef _DEBUG
#include "memfs.h"
#include