From a4287a47b34c8f06322be63a8053bd96712db335 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 3 Oct 2005 21:10:51 +0000 Subject: [PATCH] (svn r3009) DIEEEEEEEEEEE VS6 (you good-for-nothing compiler) --- stdafx.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/stdafx.h b/stdafx.h index 1a5498188a..df8d25e734 100644 --- a/stdafx.h +++ b/stdafx.h @@ -136,6 +136,16 @@ int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap); # endif typedef _W64 int INT_PTR, *PINT_PTR; typedef _W64 unsigned int UINT_PTR, *PUINT_PTR; + +#ifndef _INTPTR_T_DEFINED +#ifdef _WIN64 +typedef __int64 intptr_t; +#else +typedef _W64 int intptr_t; +#endif +#define _INTPTR_T_DEFINED +#endif + #endif // Windows has always LITTLE_ENDIAN