mirror of
https://github.com/psforever/PSCrypto.git
synced 2026-01-19 19:14:44 +00:00
Guard BUILD_DLL for Windows only
This commit is contained in:
parent
7dbf15eeae
commit
dd72589e35
|
|
@ -1,10 +1,14 @@
|
||||||
// PSCrypto - PSForever
|
// PSCrypto - PSForever
|
||||||
// https://cryptopp.com/wiki/Diffie-Hellman
|
// https://cryptopp.com/wiki/Diffie-Hellman
|
||||||
|
|
||||||
#ifdef BUILD_DLL
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||||
#define DLL_EXPORT extern "C" __declspec(dllexport)
|
# ifdef BUILD_DLL
|
||||||
|
# define DLL_EXPORT extern "C" __declspec(dllexport)
|
||||||
|
# else
|
||||||
|
# define DLL_EXPORT extern "C" __declspec(dllimport)
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
#define DLL_EXPORT extern "C" __declspec(dllimport)
|
# define DLL_EXPORT extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "osrng.h"
|
#include "osrng.h"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue