From 36957a2c50fdd3fc0195981cedf4cc65f24f8a95 Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Tue, 23 May 2006 16:49:46 +0000 Subject: fix VC & SDL 1.2.10 compilation error svn-id: r22585 --- common/scummsys.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common') 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__) -- cgit v1.2.3