From a867fe404b702ec1714dc48732e02e650d9e3a96 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Wed, 31 Jan 2018 17:08:42 -0800 Subject: Omit pragma comment for ZT_SDK builds on Windows --- include/ZeroTierOne.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index f07650b5..6da53a73 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -51,6 +51,7 @@ #define ZT_SDK_API __declspec(dllexport) #else #define ZT_SDK_API __declspec(dllimport) +#if !defined(ZT_SDK) #ifdef _DEBUG #ifdef _WIN64 #pragma comment(lib, "ZeroTierOne_x64d.lib") @@ -65,6 +66,7 @@ #endif #endif #endif +#endif #else #define ZT_SDK_API #endif -- cgit v1.2.3