[Scummvm-cvs-logs] SF.net SVN: scummvm: [21073] scummvm/trunk/common
aquadran at users.sourceforge.net
aquadran at users.sourceforge.net
Sat Mar 4 07:27:01 CET 2006
Revision: 21073
Author: aquadran
Date: 2006-03-04 07:26:26 -0800 (Sat, 04 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm?rev=21073&view=rev
Log Message:
-----------
define int types for msvc to allow compile mpeg2 library. msvc does not fully conform C99
Modified Paths:
--------------
scummvm/trunk/common/scummsys.h
scummvm/trunk/graphics/animation.h
Modified: scummvm/trunk/common/scummsys.h
===================================================================
--- scummvm/trunk/common/scummsys.h 2006-03-04 12:57:12 UTC (rev 21072)
+++ scummvm/trunk/common/scummsys.h 2006-03-04 15:26:26 UTC (rev 21073)
@@ -70,6 +70,13 @@
typedef signed short int16;
typedef signed long int32;
+ typedef int8 int8_t;
+ typedef int16 int16_t;
+ typedef int32 int32_t;
+ typedef uint8 uint8_t;
+ typedef uint16 uint16_t;
+ typedef uint32 uint32_t;
+
#define START_PACK_STRUCTS pack(push, 1)
#define END_PACK_STRUCTS pack(pop)
Modified: scummvm/trunk/graphics/animation.h
===================================================================
--- scummvm/trunk/graphics/animation.h 2006-03-04 12:57:12 UTC (rev 21072)
+++ scummvm/trunk/graphics/animation.h 2006-03-04 15:26:26 UTC (rev 21073)
@@ -33,7 +33,10 @@
#ifdef USE_MPEG2
+#if !defined(_MSC_VER)
#include <inttypes.h>
+#endif
+
extern "C" {
#include <mpeg2dec/mpeg2.h>
}
More information about the Scummvm-git-logs
mailing list