uClibc: fix ubicom32 compile error with 0.9.32
[openwrt.git] / target / linux / uml / patches-2.6.32 / 003-fix_memcpy_export_on_x86_64.patch
1 --- a/arch/um/os-Linux/user_syms.c
2 +++ b/arch/um/os-Linux/user_syms.c
3 @@ -23,7 +23,7 @@ extern int printf(const char *, ...);
4 EXPORT_SYMBOL(strstr);
5 #endif
6
7 -#ifndef __x86_64__
8 +#if !defined(__x86_64) || (__GNUC__ == 4 && __GNUC_MINOR__ < 3) || (__GNUC__ < 4)
9 extern void *memcpy(void *, const void *, size_t);
10 EXPORT_SYMBOL(memcpy);
11 #endif
This page took 0.038731 seconds and 5 git commands to generate.