# HG changeset patch # User ipse.c99@d525d15b-5824-0410-80a3-6185d19c2cde # Date 1172327578 0 # Node ID 430312ce8ab96e395653666e8dc4835790d68e76 # Parent 334a223531224bf08c80f6135f816bbe8c789d0b Remove include, as it is not present in Visual Studio 2005 Epxress Edition and required only for INT_PTR and UINT_PTR types. 'intptr_t' and 'uintptr_t' types now defined explicitly with #ifdef _WIN64. diff --git a/stdint.h b/stdint.h --- a/stdint.h +++ b/stdint.h @@ -40,7 +40,6 @@ #pragma once #endif -#include #include // For Visual Studio 6 in C++ mode wrap include with 'extern "C++" {}' @@ -87,8 +86,13 @@ typedef uint32_t uint_fast32_t; typedef uint64_t uint_fast64_t; // 7.18.1.4 Integer types capable of holding object pointers -typedef INT_PTR intptr_t; -typedef UINT_PTR uintptr_t; +#ifdef _WIN64 // [ + typedef __int64 intptr_t; + typedef unsigned __int64 uintptr_t; +#else // _WIN64 ][ + typedef int intptr_t; + typedef unsigned int uintptr_t; +#endif // _WIN64 ] // 7.18.1.5 Greatest-width integer types typedef int64_t intmax_t;