diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-09-27 14:56:58 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-09-27 14:56:58 +0200 |
commit | bdf811f16ec08addfcb3778e04626b2ec128a5ce (patch) | |
tree | f72a685291b6fa8b837cbbe51651355bfcda9166 | |
parent | Fixed ICE-7377 - IceStorm shutdown hang (diff) | |
download | ice-bdf811f16ec08addfcb3778e04626b2ec128a5ce.tar.bz2 ice-bdf811f16ec08addfcb3778e04626b2ec128a5ce.tar.xz ice-bdf811f16ec08addfcb3778e04626b2ec128a5ce.zip |
Fixed to use long instead of long long on Arm64
-rw-r--r-- | objective-c/include/objc/Ice/Config.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdlib.h> -#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; |