1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 02:45:43 +00:00
mpv/libvo/fastmemcpy.h

17 lines
304 B
C
Raw Normal View History

#ifndef __MPLAYER_MEMCPY
#define __MPLAYER_MEMCPY 1
#ifdef USE_FASTMEMCPY
#if defined( HAVE_MMX2 ) || defined( HAVE_3DNOW ) || defined( HAVE_MMX )
#include <stddef.h>
extern void * fast_memcpy(void * to, const void * from, size_t len);
#define memcpy(a,b,c) fast_memcpy(a,b,c)
#endif
#endif
#endif