summaryrefslogtreecommitdiff
path: root/objective-c/include
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-09-27 14:56:58 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-09-27 14:56:58 +0200
commitbdf811f16ec08addfcb3778e04626b2ec128a5ce (patch)
treef72a685291b6fa8b837cbbe51651355bfcda9166 /objective-c/include
parentFixed ICE-7377 - IceStorm shutdown hang (diff)
downloadice-bdf811f16ec08addfcb3778e04626b2ec128a5ce.tar.bz2
ice-bdf811f16ec08addfcb3778e04626b2ec128a5ce.tar.xz
ice-bdf811f16ec08addfcb3778e04626b2ec128a5ce.zip
Fixed to use long instead of long long on Arm64
Diffstat (limited to 'objective-c/include')
-rw-r--r--objective-c/include/objc/Ice/Config.h4
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;