mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-11 03:41:50 +00:00
Omit pragma comment for ZT_SDK builds on Windows
This commit is contained in:
parent
d6e8a5f3ca
commit
a867fe404b
@ -51,6 +51,7 @@
|
|||||||
#define ZT_SDK_API __declspec(dllexport)
|
#define ZT_SDK_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define ZT_SDK_API __declspec(dllimport)
|
#define ZT_SDK_API __declspec(dllimport)
|
||||||
|
#if !defined(ZT_SDK)
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
#pragma comment(lib, "ZeroTierOne_x64d.lib")
|
#pragma comment(lib, "ZeroTierOne_x64d.lib")
|
||||||
@ -65,6 +66,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define ZT_SDK_API
|
#define ZT_SDK_API
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user