diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2018-02-25 01:59:39 +0900 |
|---|---|---|
| committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2018-02-25 21:56:05 +0900 |
| commit | 3681d02253d29229e265720984ce81a35206de4c (patch) | |
| tree | 95590bed234fb09e40e14feb5cdb6c0120f07334 /include/compat/sys | |
| parent | 47781e69e2946011ea7bd0723e98a2fedff88980 (diff) | |
| download | portable-3681d02253d29229e265720984ce81a35206de4c.tar.gz portable-3681d02253d29229e265720984ce81a35206de4c.tar.bz2 portable-3681d02253d29229e265720984ce81a35206de4c.zip | |
Add compat bits for libtls on Windows
Diffstat (limited to 'include/compat/sys')
| -rw-r--r-- | include/compat/sys/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat/sys/types.h b/include/compat/sys/types.h index 473d6da..2107119 100644 --- a/include/compat/sys/types.h +++ b/include/compat/sys/types.h | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #ifdef __MINGW32__ | 21 | #ifdef __MINGW32__ |
| 22 | #include <_bsd_types.h> | 22 | #include <_bsd_types.h> |
| 23 | typedef uint32_t in_addr_t; | 23 | typedef uint32_t in_addr_t; |
| 24 | typedef uint32_t uid_t; | ||
| 24 | #endif | 25 | #endif |
| 25 | 26 | ||
| 26 | #ifdef _MSC_VER | 27 | #ifdef _MSC_VER |
| @@ -29,6 +30,7 @@ typedef unsigned short u_short; | |||
| 29 | typedef unsigned int u_int; | 30 | typedef unsigned int u_int; |
| 30 | typedef uint32_t in_addr_t; | 31 | typedef uint32_t in_addr_t; |
| 31 | typedef uint32_t mode_t; | 32 | typedef uint32_t mode_t; |
| 33 | typedef uint32_t uid_t; | ||
| 32 | 34 | ||
| 33 | #include <basetsd.h> | 35 | #include <basetsd.h> |
| 34 | typedef SSIZE_T ssize_t; | 36 | typedef SSIZE_T ssize_t; |
