diff --git a/builds/msvc/vs2010/libsodium/libsodium.props b/builds/msvc/vs2010/libsodium/libsodium.props index 7e9bca4f..0afdec61 100644 --- a/builds/msvc/vs2010/libsodium/libsodium.props +++ b/builds/msvc/vs2010/libsodium/libsodium.props @@ -25,7 +25,7 @@ false inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) SODIUM_STATIC;%(PreprocessorDefinitions) - DLL_EXPORT;%(PreprocessorDefinitions) + SODIUM_DLL_EXPORT;%(PreprocessorDefinitions) HAVE_AMD64_ASM;%(PreprocessorDefinitions) diff --git a/builds/msvc/vs2012/libsodium/libsodium.props b/builds/msvc/vs2012/libsodium/libsodium.props index 7e9bca4f..0afdec61 100644 --- a/builds/msvc/vs2012/libsodium/libsodium.props +++ b/builds/msvc/vs2012/libsodium/libsodium.props @@ -25,7 +25,7 @@ false inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) SODIUM_STATIC;%(PreprocessorDefinitions) - DLL_EXPORT;%(PreprocessorDefinitions) + SODIUM_DLL_EXPORT;%(PreprocessorDefinitions) HAVE_AMD64_ASM;%(PreprocessorDefinitions) diff --git a/builds/msvc/vs2013/libsodium/libsodium.props b/builds/msvc/vs2013/libsodium/libsodium.props index 7e9bca4f..0afdec61 100644 --- a/builds/msvc/vs2013/libsodium/libsodium.props +++ b/builds/msvc/vs2013/libsodium/libsodium.props @@ -25,7 +25,7 @@ false inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) SODIUM_STATIC;%(PreprocessorDefinitions) - DLL_EXPORT;%(PreprocessorDefinitions) + SODIUM_DLL_EXPORT;%(PreprocessorDefinitions) HAVE_AMD64_ASM;%(PreprocessorDefinitions) diff --git a/src/libsodium/include/sodium/export.h b/src/libsodium/include/sodium/export.h index 32d9fa18..53fcd7b5 100644 --- a/src/libsodium/include/sodium/export.h +++ b/src/libsodium/include/sodium/export.h @@ -13,7 +13,7 @@ # define SODIUM_EXPORT #else # if defined(_MSC_VER) -# ifdef DLL_EXPORT +# ifdef SODIUM_DLL_EXPORT # define SODIUM_EXPORT __declspec(dllexport) # else # define SODIUM_EXPORT __declspec(dllimport)