[Mplayer-cvslog] CVS: main configure,1.357,1.358 divx4_vbr.c,1.4,1.5

pl pl at mplayer.dev.hu
Sun Jan 6 14:06:53 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv17263

Modified Files:
	configure divx4_vbr.c 
Log Message:
stdint.h replaced by inttypes.h (used more frequently in the sources)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -r1.357 -r1.358
--- configure	5 Jan 2002 12:29:25 -0000	1.357
+++ configure	6 Jan 2002 13:06:44 -0000	1.358
@@ -1113,20 +1113,20 @@
   _streaming=no
 fi
 
-
-echocheck "stdint.h"
+echocheck "inttypes.h (required)"
 cat > $TMPC << EOF
-#include <stdint.h>
+#include <inttypes.h>
 int main(void) { return 0; }
 EOF
-_stdint=no
-cc_check && _stdint=yes
-if test "$_stdint" = yes ; then
-  _def_stdint='#define HAVE_STDINT_H 1'
+_inttypes=no
+cc_check && _inttypes=yes
+if test "$_inttypes" = yes ; then
+  # nothing to do
+  :
 else
-  _def_stdint='#undef HAVE_STDINT_H'
+  die "cannot find header inttypes.h (see in DOC/faq.html)"
 fi
-echores "$_stdint"
+echores "$_inttypes"
 
 
 echocheck "malloc.h"
@@ -2894,9 +2894,6 @@
 
 /* Define this if your system has the header file for the OSS sound interface */
 $_def_sys_soundcard
-
-/* Define this if your system has the "stdint.h" header file */
-$_def_stdint
 
 /* Define this if your system has the "malloc.h" header file */
 $_def_malloc

Index: divx4_vbr.c
===================================================================
RCS file: /cvsroot/mplayer/main/divx4_vbr.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- divx4_vbr.c	31 Dec 2001 15:29:46 -0000	1.4
+++ divx4_vbr.c	6 Jan 2002 13:06:44 -0000	1.5
@@ -42,13 +42,7 @@
 #include <fcntl.h>
 #include <dlfcn.h>
 #include <math.h>
-
-#include "config.h"
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-
+#include <inttypes.h>
 
 #include "divx4_vbr.h"
 




More information about the MPlayer-cvslog mailing list