summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2018-01-31 17:08:42 -0800
committerJoseph Henry <josephjah@gmail.com>2018-01-31 17:08:42 -0800
commita867fe404b702ec1714dc48732e02e650d9e3a96 (patch)
tree293ed33bb5e6ea714d624a95609f5d1d3ec88ffc /include
parentd6e8a5f3ca2ecc78c5c8542356099912cbffb552 (diff)
downloadinfinitytier-a867fe404b702ec1714dc48732e02e650d9e3a96.tar.gz
infinitytier-a867fe404b702ec1714dc48732e02e650d9e3a96.zip
Omit pragma comment for ZT_SDK builds on Windows
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h2
1 files changed, 2 insertions, 0 deletions
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