diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config.h.in b/config.h.in index 345af7df..2d6db9c6 100644 --- a/config.h.in +++ b/config.h.in @@ -11,6 +11,9 @@ /* MS Visual Studio 2008 and newer doesn't know ssize_t */ #if defined(HAVE_GNUTLS) && defined(WIN32) && !defined(__MINGW32__) -#include <stddef.h> -typedef size_t ssize_t; + #if defined(_WIN64) + typedef __int64 ssize_t; + #else + typedef long ssize_t; + #endif #endif |