[MPlayer-dev-eng] [PATCH] libavcodec compile fix

Jonas Jermann jjermann at gmx.net
Sat Jan 10 13:50:36 CET 2004


Hi

This patch fixeѕ the libavcodec compile issue for me.
Maybe libavcodec should be changed to to typedef the
missing stuff...

Regards
	Jonas
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.826
diff -u -r1.826 configure
--- configure	2 Jan 2004 14:06:47 -0000	1.826
+++ configure	10 Jan 2004 12:47:54 -0000
@@ -2155,9 +2155,10 @@
 _fast_inttypes=no
 cc_check && _fast_inttypes=yes
 if test "$_fast_inttypes" = yes ; then
-  # nothing to do
+  _def_fast_inttypes_h='#define HAVE_INTTYPES_H 1'
   :
 else
+  _def_fast_inttypes_h='#undef HAVE_INTTYPES_H'
   _def_fast_inttypes='  
     typedef signed char int_fast8_t;
     typedef signed int  int_fast16_t;
@@ -6455,6 +6456,7 @@
 #endif
 
 $_def_altivec_h	// enables usage of altivec.h
+$_def_fast_inttypes_h // enables usage of inttypes.h (with int_fastXY_t)
 
 
 $_def_mlib  // Sun mediaLib, available only on solaris


More information about the MPlayer-dev-eng mailing list