mirror of
https://github.com/nginx/nginx.git
synced 2025-08-06 14:56:15 +08:00
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:
parent
ca1c3818f7
commit
751e6a5dae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user