[Mplayer-cvslog] CVS: main/loader wrapper.h,1.1,1.2

Alex Beregszaszi alex at mplayerhq.hu
Wed Jan 28 09:02:43 CET 2004


Update of /cvsroot/mplayer/main/loader
In directory mail:/var2/tmp/cvs-serv17081

Modified Files:
	wrapper.h 
Log Message:
use inttypes.h and std types, this fixes compilation problems on solaris 9 x86

Index: wrapper.h
===================================================================
RCS file: /cvsroot/mplayer/main/loader/wrapper.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wrapper.h	24 Nov 2002 21:45:23 -0000	1.1
+++ wrapper.h	28 Jan 2004 08:02:40 -0000	1.2
@@ -1,13 +1,13 @@
 #ifndef _WRAPPER_H
 #define _WRAPPER_H
 
-#include <sys/types.h>
+#include <inttypes.h>
 
 typedef struct {
-  u_int32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
+  uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
 } reg386_t;
 
-typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg,  u_int32_t *flags);
+typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg,  uint32_t *flags);
 
 extern wrapper_func_t report_entry, report_ret;
 




More information about the MPlayer-cvslog mailing list