diff --git a/libsodium.vcxproj b/libsodium.vcxproj
index 65f5fab5..7f29c7de 100644
--- a/libsodium.vcxproj
+++ b/libsodium.vcxproj
@@ -43,28 +43,28 @@
StaticLibrary
true
- MultiByte
+ Unicode
false
v140
DynamicLibrary
true
- MultiByte
+ Unicode
false
v140
StaticLibrary
true
- MultiByte
+ Unicode
false
v140
DynamicLibrary
true
- MultiByte
+ Unicode
false
v140
@@ -72,28 +72,28 @@
StaticLibrary
false
true
- MultiByte
+ Unicode
v140
DynamicLibrary
false
true
- MultiByte
+ Unicode
v140
StaticLibrary
false
true
- MultiByte
+ Unicode
v140
DynamicLibrary
false
true
- MultiByte
+ Unicode
v140
@@ -180,7 +180,7 @@
Disabled
SODIUM_STATIC;SODIUM_EXPORT=;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
- MultiThreadedDebug
+ MultiThreadedDebugDLL
$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)
@@ -212,7 +212,7 @@
Disabled
SODIUM_STATIC;SODIUM_EXPORT=;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
- MultiThreadedDebug
+ MultiThreadedDebugDLL
Console
@@ -244,7 +244,7 @@
true
SODIUM_STATIC;SODIUM_EXPORT=;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
- MultiThreaded
+ MultiThreadedDLL
Speed
$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)
@@ -286,7 +286,7 @@
true
SODIUM_STATIC;SODIUM_EXPORT=;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
- MultiThreaded
+ MultiThreadedDLL
Console
diff --git a/test/default/wintest.bat b/test/default/wintest.bat
index e50fb494..a1bd74f4 100755
--- a/test/default/wintest.bat
+++ b/test/default/wintest.bat
@@ -27,14 +27,14 @@ goto :END
SET PATH=..\..\Build\%1\%ARCH%;%PATH%
goto :COMPILE
:Release
- SET CFLAGS=%CFLAGS% /MT /Ox /DSODIUM_STATIC /DSODIUM_EXPORT=
+ SET CFLAGS=%CFLAGS% /MD /Ox /DSODIUM_STATIC /DSODIUM_EXPORT=
goto :COMPILE
:DebugDLL
SET CFLAGS=%CFLAGS% /GS /MDd /Od
SET PATH=..\..\Build\%1\%ARCH%;%PATH%
goto :COMPILE
:Debug
- SET CFLAGS=%CFLAGS% /GS /MTd /Od /DSODIUM_STATIC /DSODIUM_EXPORT=
+ SET CFLAGS=%CFLAGS% /GS /MDd /Od /DSODIUM_STATIC /DSODIUM_EXPORT=
goto :COMPILE
:COMPILE
echo Running the test suite: