mirror of
https://github.com/nginx/nginx.git
synced 2026-09-30 11:33:00 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue