summaryrefslogtreecommitdiff
path: root/libobjc/Object.m
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-15 22:13:49 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-15 22:13:49 +0000
commitb53b6b48bd9664a359f11fe540978cf1b0296345 (patch)
tree1f105f7d4acfafbe1858a1fe8556a41dd76f159a /libobjc/Object.m
parent90856340d751153e426a8b0907aec0caa12c5c0d (diff)
downloadgcc-b53b6b48bd9664a359f11fe540978cf1b0296345.tar.gz
* Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33170 138bc75d-0d04-0410-961f-82ee72b054a4
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 59851c14fb1..0bec4c9f801 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)];
}
-#if defined(__alpha__) || (defined(__sparc__) && (defined(__sparcv9) || defined(__arch64__))) || (defined(__ia64__) && defined(__LP64__))
+#if defined(__alpha__) || (defined (_ARCH_PPC) && defined (__64BIT__)) || (defined(__sparc__) && (defined(__sparcv9) || defined(__arch64__))) || (defined(__ia64__) && defined(__LP64__))
extern size_t strlen(const char*);
#endif