summaryrefslogtreecommitdiff
path: root/libobjc/Object.m
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/Object.m')
-rw-r--r--libobjc/Object.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/libobjc/Object.m b/libobjc/Object.m
index 64b52f48368..59851c14fb1 100644
--- a/libobjc/Object.m
+++ b/libobjc/Object.m
@@ -320,7 +320,7 @@ extern int errno;
object_get_class_name(self), sel_get_name(aSel)];
}
-#ifdef __alpha__
+#if defined(__alpha__) || (defined(__sparc__) && (defined(__sparcv9) || defined(__arch64__))) || (defined(__ia64__) && defined(__LP64__))
extern size_t strlen(const char*);
#endif