[EMAIL PROTECTED] writes:

> Due to some more breakage, here's some more patch:
>
> According to POSIX memmove and memcpy can actually be macros or whatever
> (IIRC). We'd better not play with those in code that uses libc's headers
> and is to be linked with libc.
>
> 2008-08-08  Lubomir Rintel  <[EMAIL PROTECTED]>
>
>         * include/grub/misc.h: Surround memmove and memcpy prototypes with
>         #ifndef GRUB_UTIL
>         * kern/misc.c: Surround memmove, memcpy and memset prototypes with
>         #ifndef GRUB_UTIL

This is not for GRUB_UTIL, so please don't do this.  Perhaps your
problem can be fixed in another way.  IIRC, this was added because on
the PPC, memcpy was required by libgcc, which is used there...

--
Marco



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to