From e303cf6112778d0ad21b460e8e20817f785b2070 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 12 Jul 2009 12:03:11 +0000 Subject: [PATCH] get uintptr_t from vadefs.h on MSVC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9054 d7cf8633-e32d-0410-b094-e92efae38249 --- zone.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zone.c b/zone.c index 1db8359b..7eefcd75 100644 --- a/zone.c +++ b/zone.c @@ -22,7 +22,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #if MEMPARANOIA +#ifdef _MSC_VER +#include +#else #include +#endif #define MEMHEADER_SENTINEL_FOR_ADDRESS(p) ((sentinel_seed ^ (unsigned int) (uintptr_t) (p)) + sentinel_seed) unsigned int sentinel_seed; #else -- 2.39.2