Provide an extern decl for strlen() all the time, not just if __alpha__
(so this builds on sparc64). XXX Why we don't just use <string.h> is beyond me...
This commit is contained in:
parent
4e3296004c
commit
c3aaaae7a0
3
gnu/dist/toolchain/libobjc/Object.m
vendored
3
gnu/dist/toolchain/libobjc/Object.m
vendored
@ -320,9 +320,8 @@ extern int errno;
|
||||
object_get_class_name(self), sel_get_name(aSel)];
|
||||
}
|
||||
|
||||
#ifdef __alpha__
|
||||
/* XXX Why not just include <string.h>? */
|
||||
extern size_t strlen(const char*);
|
||||
#endif
|
||||
|
||||
- error:(const char *)aString, ...
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user