1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-05 20:55:47 +03:00

Move fallback SIZE_MAX and UINT_MAX to libssh2_priv.h

This commit is contained in:
Michael Buckley
2019-03-18 15:07:12 -07:00
parent 5b3cac75b5
commit 31d0b1a853
2 changed files with 12 additions and 12 deletions

View File

@@ -154,18 +154,6 @@ typedef int libssh2_socket_t;
#define LIBSSH2_INVALID_SOCKET -1
#endif /* WIN32 */
#ifndef SIZE_MAX
#if _WIN64
#define SIZE_MAX 0xFFFFFFFFFFFFFFFF
#else
#define SIZE_MAX 0xFFFFFFFF
#endif
#endif
#ifndef UINT_MAX
#define UINT_MAX 0xFFFFFFFF
#endif
/*
* Determine whether there is small or large file support on windows.
*/