diff --git a/libsodium.vcxproj b/libsodium.vcxproj
index f6a2f859..4100a188 100644
--- a/libsodium.vcxproj
+++ b/libsodium.vcxproj
@@ -194,7 +194,7 @@
Level3
Disabled
- SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
MultiThreadedDebugDLL
$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)
@@ -225,7 +225,7 @@
Level3
Disabled
- SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
MultiThreadedDebugDLL
@@ -263,7 +263,7 @@
Full
true
true
- SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
MultiThreadedDLL
Speed
@@ -303,7 +303,7 @@
MaxSpeed
true
true
- SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
4244;%(DisableSpecificWarnings)
MultiThreadedDLL