win32 uint16_t definition

This commit is contained in:
Igor Sysoev 2006-10-16 13:59:37 +00:00
parent cab3b30e2c
commit adfd14529b

View File

@ -101,17 +101,21 @@ typedef long time_t;
#ifdef _MSC_VER
typedef unsigned __int32 uint32_t;
typedef __int32 int32_t;
typedef unsigned __int16 uint16_t;
#define ngx_libc_cdecl __cdecl
#elif defined __WATCOMC__
#elif defined __BORLANDC__
typedef unsigned __int32 uint32_t;
typedef __int32 int32_t;
typedef unsigned __int16 uint16_t;
#define ngx_libc_cdecl __cdecl
#else /* __WATCOMC__ */
typedef unsigned int uint32_t;
typedef int int32_t;
typedef unsigned short int uint16_t;
#define ngx_libc_cdecl
#else /* __BORLANDC__ */
typedef unsigned int uint32_t;
typedef int int32_t;
#define ngx_libc_cdecl __cdecl
#endif
typedef __int64 int64_t;