From bdf811f16ec08addfcb3778e04626b2ec128a5ce Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Tue, 27 Sep 2016 14:56:58 +0200 Subject: Fixed to use long instead of long long on Arm64 --- objective-c/include/objc/Ice/Config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'objective-c/include') diff --git a/objective-c/include/objc/Ice/Config.h b/objective-c/include/objc/Ice/Config.h index 3b4e546fcb4..46dc2e6b109 100644 --- a/objective-c/include/objc/Ice/Config.h +++ b/objective-c/include/objc/Ice/Config.h @@ -19,7 +19,7 @@ #import -#define ICE_DEPRECATED_API(msg) __attribute__((deprecated(msg))) +#define ICE_DEPRECATED_API(msg) __attribute__((deprecated(msg))) #define ICE_DECLSPEC_EXPORT __attribute__((visibility ("default"))) #define ICE_DECLSPEC_IMPORT __attribute__((visibility ("default"))) @@ -38,7 +38,7 @@ typedef unsigned char ICEByte; typedef short ICEShort; typedef int ICEInt; -#if defined(__x86_64) +#if defined(__x86_64) || defined(__arm64) typedef long ICELong; #else typedef long long ICELong; -- cgit v1.2.3