[Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.h,1.9,1.10

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Jan 17 01:16:01 CET 2004


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv1858

Modified Files:
	animation.h 
Log Message:
fix compilation for msvc when libmpeg2 enabled

Index: animation.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/animation.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- animation.h	14 Jan 2004 08:14:25 -0000	1.9
+++ animation.h	17 Jan 2004 09:15:42 -0000	1.10
@@ -25,7 +25,15 @@
 // Uncomment this if you are using libmpeg2 0.3.1.
 // #define USE_MPEG2_0_3_1
 
-#ifndef _MSC_VER
+#ifdef _MSC_VER
+typedef signed char int8_t;
+typedef signed short int16_t;
+typedef signed int int32_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t; 
+#else
 #include <inttypes.h>
 #endif
 





More information about the Scummvm-git-logs mailing list