From: divverent Date: Sun, 12 Jul 2009 12:03:11 +0000 (+0000) Subject: get uintptr_t from vadefs.h on MSVC X-Git-Tag: xonotic-v0.1.0preview~1574 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e303cf6112778d0ad21b460e8e20817f785b2070;p=xonotic%2Fdarkplaces.git get uintptr_t from vadefs.h on MSVC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9054 d7cf8633-e32d-0410-b094-e92efae38249 --- 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