blob: 223f6544c18433b91f6685d616b09421c5a688b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -ur grub-0.94.orig/stage2/char_io.c grub-0.94/stage2/char_io.c
--- grub-0.94.orig/stage2/char_io.c 2003-07-09 11:45:52.000000000 +0000
+++ grub-0.94/stage2/char_io.c 2004-05-04 16:08:41.983029992 +0000
@@ -1265,3 +1265,10 @@
return dest;
}
#endif /* ! STAGE1_5 */
+
+#ifndef GRUB_UTIL
+# undef memcpy
+/* GCC emits references to memcpy() for struct copies etc. */
+void *memcpy (void *dest, const void *src, int n) __attribute__ ((alias ("grub_memmove")));
+#endif
+
|