Win32: minimized redefinition of intptr_t/uintptr_t.

These types are available with MSVC (at least since 2003, in stddef.h),
all variants of GCC (in stdint.h) and Watcom C.  We need to define them
only for Borland C.
This commit is contained in:
Maxim Dounin 2016-12-24 18:01:14 +03:00
parent ca1c3818f7
commit 751e6a5dae

View File

@ -152,7 +152,7 @@ typedef unsigned short int uint16_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#if !defined(__WATCOMC__) && !defined(__MINGW64_VERSION_MAJOR)
#if __BORLANDC__
typedef int intptr_t;
typedef u_int uintptr_t;
#endif