diff options
-rw-r--r-- | sword1/animation.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sword1/animation.h b/sword1/animation.h index bfbbd11e13..4907c5b2f0 100644 --- a/sword1/animation.h +++ b/sword1/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 |