summaryrefslogtreecommitdiffstats
path: root/libvo/fastmemcpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/fastmemcpy.h')
-rw-r--r--libvo/fastmemcpy.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libvo/fastmemcpy.h b/libvo/fastmemcpy.h
index bd42d8562b..cff2846bc8 100644
--- a/libvo/fastmemcpy.h
+++ b/libvo/fastmemcpy.h
@@ -1,16 +1,16 @@
#ifndef __MPLAYER_MEMCPY
#define __MPLAYER_MEMCPY 1
-#ifdef USE_FASTMEMCPY
+#include "../config.h"
-#if defined( HAVE_MMX2 ) || defined( HAVE_3DNOW ) || defined( HAVE_MMX )
+#ifdef USE_FASTMEMCPY
+#if defined(HAVE_MMX) || defined(HAVE_MMX2) || defined(HAVE_3DNOW) \
+/* || defined(HAVE_SSE) || defined(HAVE_SSE2) */
#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 /* HAVE_MMX/MMX2/3DNOW/SSE/SSE2 */
+#endif /* USE_FASTMEMCPY */
#endif