| Index: src/include/win/port_win.h
|
| diff --git a/src/include/win/port_win.h b/src/include/win/port_win.h
|
| index 3bdc0035753a2645c288015c2e22ef8b6147a0b4..a63b963cadaaa8d4dba072258a75f214b835be9e 100644
|
| --- a/src/include/win/port_win.h
|
| +++ b/src/include/win/port_win.h
|
| @@ -54,22 +54,31 @@
|
| #include <windows.h>
|
|
|
| /* types missing on Windows */
|
| -typedef long off_t;
|
| -typedef unsigned int uint32_t;
|
| -typedef int int32_t;
|
| -typedef unsigned char uint8_t;
|
| -typedef unsigned int u_int32_t;
|
| +typedef signed char __int8_t;
|
| +typedef unsigned char __uint8_t;
|
| +typedef short __int16_t;
|
| typedef unsigned short __uint16_t;
|
| -typedef unsigned short uint16_t;
|
| -typedef short int16_t;
|
| +typedef int __int32_t;
|
| +typedef unsigned int __uint32_t;
|
| +typedef __int64 __int64_t;
|
| +typedef unsigned __int64 __uint64_t;
|
| +
|
| +typedef __int8_t int8_t;
|
| +typedef __uint8_t uint8_t;
|
| +typedef __int16_t int16_t;
|
| +typedef __uint16_t uint16_t;
|
| +typedef __int32_t int32_t;
|
| +typedef __uint32_t uint32_t;
|
| +typedef __uint32_t u_int32_t;
|
| +typedef __int64_t int64_t;
|
| +typedef __uint64_t uint64_t;
|
| +
|
| +typedef long off_t;
|
| typedef int mode_t;
|
| typedef long _off_t;
|
| typedef long int __loff_t;
|
| -typedef signed char int8_t;
|
| typedef unsigned long DWORD;
|
| typedef long clock_t;
|
| -typedef __int64 int64_t;
|
| -typedef unsigned __int64 uint64_t;
|
|
|
| #ifdef _WIN64
|
| typedef int64_t ssize_t;
|
|
|