1
1

libssh2.h: Fix Error C2371 'ssize_t': redefinition

Closes #331
Этот коммит содержится в:
Zenju 2019-03-20 19:15:17 +01:00 коммит произвёл Daniel Stenberg
родитель 1b3cbaff51
Коммит c3d89b9720
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2

Просмотреть файл

@ -137,8 +137,9 @@ typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef unsigned __int64 libssh2_uint64_t;
typedef __int64 libssh2_int64_t;
#ifndef ssize_t
#if (!defined(HAVE_SSIZE_T) && !defined(ssize_t))
typedef SSIZE_T ssize_t;
#define HAVE_SSIZE_T
#endif
#else
#include <stdint.h>