[MPlayer-dev-eng] [PATCH]fastmemcpy.h now always need inttypes.h

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jan 26 18:26:06 CET 2007


Hi!

Since "get rid of void pointer arithmetic, as spotted by ICC", 22018, 
fastmemcpy.h always has to include inttypes.h on those systems needing it.

Carl Eugen
-------------- next part --------------
Index: libvo/fastmemcpy.h
===================================================================
--- libvo/fastmemcpy.h	(Revision 22020)
+++ libvo/fastmemcpy.h	(Arbeitskopie)
@@ -2,12 +2,12 @@
 #define __MPLAYER_MEMCPY 1
 
 #include "config.h"
+#include <inttypes.h>
 
 #ifdef USE_FASTMEMCPY
 #if defined(HAVE_MMX) || defined(HAVE_MMX2) || defined(HAVE_3DNOW) \
 /*    || defined(HAVE_SSE) || defined(HAVE_SSE2) */
 #include <stddef.h>
-#include <inttypes.h>
 
 extern void * fast_memcpy(void * to, const void * from, size_t len);
 extern void * mem2agpcpy(void * to, const void * from, size_t len);


More information about the MPlayer-dev-eng mailing list