* Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.

From-SVN: r33170
This commit is contained in:
David Edelsohn 2000-04-15 22:13:49 +00:00 committed by David Edelsohn
parent b9bfacf01c
commit 39b48e0238
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-04-15 David Edelsohn <edelsohn@gnu.org>
* Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
2000-04-12 Jakub Jelinek <jakub@redhat.com>
* Object.m (strlen): Provide prototype on all 64bit platforms,

View File

@ -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