SunOS4 is missing memmove
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Jul 20 10:49:00 GMT 1999
libjava refuses to configure when memmove is missing. Couldn't we add
this to some header file and skip the MSG_ERROR in configure.in?
#if HAVE_BCOPY && ! HAVE_MEMMOVE
extern inline void *memmove(void *dest, const void *src, size_t n) {
bcopy(src, dest, n);
return dest;
}
#endif
AFAIK, bcopy is supposed to handle overlapping memory regions.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
More information about the Java
mailing list