mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Define an empty SODIUM_EXPORT if SODIUM_STATIC is defined.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user