# HG changeset patch # User arpi_esp # Date 987034197 0 # Node ID baf3fe20eb2310c06838b4cefee3f878f1e34791 # Parent b1a706452eeb0aa2531af005b5d005b10a90b703 __memcpy fix diff -r b1a706452eeb -r baf3fe20eb23 libvo/fastmemcpy.h --- a/libvo/fastmemcpy.h Thu Apr 12 00:05:41 2001 +0000 +++ b/libvo/fastmemcpy.h Thu Apr 12 00:09:57 2001 +0000 @@ -8,7 +8,7 @@ #ifndef HAVE_MMX2 //static inline void * __memcpy(void * to, const void * from, unsigned n) -inline static void * memcpy(void * to, const void * from, unsigned n) +inline static void * fast_memcpy(void * to, const void * from, unsigned n) { int d0, d1, d2; __asm__ __volatile__( @@ -27,7 +27,7 @@ } #else //inline static void *__memcpy_mmx2(void *to, const void *from, unsigned len) -inline static void * memcpy(void * to, const void * from, unsigned len) +inline static void * fast_memcpy(void * to, const void * from, unsigned len) { void *p; int i; @@ -91,8 +91,10 @@ /* * Now do the tail of the block */ - __memcpy(to, from, len&63); + memcpy(to, from, len&63); return p; } #endif +#define memcpy(a,b,c) fast_memcpy(a,b,c) +