Define an empty SODIUM_EXPORT if SODIUM_STATIC is defined.

This commit is contained in:
Frank Denis 2013-10-07 19:32:58 -07:00
parent 2c7aba48f3
commit 82c7b125af

View File

@ -9,7 +9,9 @@
# define __attribute__(a)
#endif
#ifndef SODIUM_STATIC
#ifdef SODIUM_STATIC
# define SODIUM_EXPORT
#else
# if defined(_MSC_VER)
# ifdef DLL_EXPORT
# define SODIUM_EXPORT __declspec(dllexport)