diff -r 374f6395847d -r e2d5f55daf63 stdafx.h --- a/stdafx.h Sun Oct 02 22:39:56 2005 +0000 +++ b/stdafx.h Mon Oct 03 21:10:51 2005 +0000 @@ -136,6 +136,16 @@ # 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