Patched Xcode / gcc compilation conflict

This commit is contained in:
Joseph Henry
2016-06-22 14:15:37 -07:00
parent 0de93a39fa
commit 8bf7e23613
4 changed files with 3 additions and 1 deletions

View File

@@ -1505,6 +1505,7 @@
OTHER_CFLAGS = (
"-DZT_SDK",
"-DZT_SDK_DEBUG",
"-D__XCODE__",
);
PRODUCT_BUNDLE_IDENTIFIER = "zerotier.ZeroTierSDK-OSX";
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1532,6 +1533,7 @@
OTHER_CFLAGS = (
"-DZT_SDK",
"-DZT_SDK_DEBUG",
"-D__XCODE__",
);
PRODUCT_BUNDLE_IDENTIFIER = "zerotier.ZeroTierSDK-OSX";
PRODUCT_NAME = "$(TARGET_NAME)";

View File

@@ -60,7 +60,7 @@
#include "SDK_Debug.c"
#include "SDK_ServiceSetup.hpp"
#if !defined(__IOS__) && !defined(__ANDROID__) && !defined(__UNITY_3D__) //&& !defined(__APPLE__)
#if !defined(__IOS__) && !defined(__ANDROID__) && !defined(__UNITY_3D__) && !defined(__XCODE__)
const ip_addr_t ip_addr_any = { IPADDR_ANY };
#endif