From 39e291252c3416f44bf4b562b83cea5132e4e614 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Sat, 26 Jul 2003 11:09:01 +0000 Subject: [PATCH] intptr_t fix for VC6 git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1089 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sc2/src/types.h b/sc2/src/types.h index d600b3cf2..8a277cc48 100644 --- a/sc2/src/types.h +++ b/sc2/src/types.h @@ -23,7 +23,11 @@ #define _TYPES_H #ifdef _MSC_VER -# include +# if (_MSC_VER >= 1300) +# include +# else + typedef int intptr_t; +# endif #else # include #endif