Patched Xcode / gcc compilation conflict
This commit is contained in:
Binary file not shown.
@@ -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)";
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user