]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
get uintptr_t from vadefs.h on MSVC
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Jul 2009 12:03:11 +0000 (12:03 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Jul 2009 12:03:11 +0000 (12:03 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9054 d7cf8633-e32d-0410-b094-e92efae38249

zone.c

diff --git a/zone.c b/zone.c
index 1db8359b0ca0c8000c476cccc6bb347a3713f2a2..7eefcd7554d2021d618d2bce2c66298b7805800c 100644 (file)
--- 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 <vadefs.h>
+#else
 #include <stdint.h>
+#endif
 #define MEMHEADER_SENTINEL_FOR_ADDRESS(p) ((sentinel_seed ^ (unsigned int) (uintptr_t) (p)) + sentinel_seed)
 unsigned int sentinel_seed;
 #else