aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAndrew Kurushin2006-05-23 16:49:46 +0000
committerAndrew Kurushin2006-05-23 16:49:46 +0000
commit36957a2c50fdd3fc0195981cedf4cc65f24f8a95 (patch)
tree9f9340d3647ddfaf0519c769354ffb81324af7a3 /common
parentf38af30d6a42cde9491ff96f742f5027d5587253 (diff)
downloadscummvm-rg350-36957a2c50fdd3fc0195981cedf4cc65f24f8a95.tar.gz
scummvm-rg350-36957a2c50fdd3fc0195981cedf4cc65f24f8a95.tar.bz2
scummvm-rg350-36957a2c50fdd3fc0195981cedf4cc65f24f8a95.zip
fix VC & SDL 1.2.10 compilation error
svn-id: r22585
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index ef9278fe25..ca97750e57 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -102,10 +102,13 @@
typedef signed char int8_t;
typedef signed short int16_t;
- typedef signed long int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
+
+ #if !defined(SDL_COMPILEDVERSION) || (SDL_COMPILEDVERSION < 1210)
+ typedef signed long int32_t;
typedef unsigned long uint32_t;
+ #endif
#elif defined(__MINGW32__)