2001-04-16 20:55:27 +00:00
|
|
|
#ifndef __MPLAYER_MEMCPY
|
2001-04-26 20:35:58 +00:00
|
|
|
#define __MPLAYER_MEMCPY 1
|
|
|
|
|
2001-05-14 18:18:14 +00:00
|
|
|
#ifdef USE_FASTMEMCPY
|
|
|
|
|
2001-04-26 20:35:58 +00:00
|
|
|
#if defined( HAVE_MMX2 ) || defined( HAVE_3DNOW ) || defined( HAVE_MMX )
|
2001-05-05 13:30:00 +00:00
|
|
|
#include <stddef.h>
|
2001-04-26 20:35:58 +00:00
|
|
|
|
2001-05-05 13:30:00 +00:00
|
|
|
extern void * fast_memcpy(void * to, const void * from, size_t len);
|
2001-04-12 14:40:10 +00:00
|
|
|
#define memcpy(a,b,c) fast_memcpy(a,b,c)
|
2001-04-11 20:14:49 +00:00
|
|
|
|
2001-04-16 21:08:05 +00:00
|
|
|
#endif
|
2001-04-26 20:35:58 +00:00
|
|
|
|
|
|
|
#endif
|
2001-05-14 18:18:14 +00:00
|
|
|
|
|
|
|
#endif
|