summaryrefslogtreecommitdiff
path: root/objective-c/include
diff options
context:
space:
mode:
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;