diff options
author | Paweł Kołodziejski | 2004-01-17 09:15:42 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-01-17 09:15:42 +0000 |
commit | 4270eebbb408140a06c23d5b44600373c6cdfdc4 (patch) | |
tree | 8272378454e2be0710e6e73db5ca747c01f26ee9 /sword2/driver | |
parent | ee0928847c2ba5e9d4e6785a1bc12d80d98b8da0 (diff) | |
download | scummvm-rg350-4270eebbb408140a06c23d5b44600373c6cdfdc4.tar.gz scummvm-rg350-4270eebbb408140a06c23d5b44600373c6cdfdc4.tar.bz2 scummvm-rg350-4270eebbb408140a06c23d5b44600373c6cdfdc4.zip |
fix compilation for msvc when libmpeg2 enabled
svn-id: r12447
Diffstat (limited to 'sword2/driver')
-rw-r--r-- | sword2/driver/animation.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sword2/driver/animation.h b/sword2/driver/animation.h index 3e0b701dc4..9016ce89a5 100644 --- a/sword2/driver/animation.h +++ b/sword2/driver/animation.h @@ -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 |