mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Omit pragma comment for ZT_SDK builds on Windows
This commit is contained in:
parent
d6e8a5f3ca
commit
a867fe404b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue