From: Sayed Adel Date: Tue, 11 Jul 2017 22:17:55 +0000 (+0200) Subject: ssize_t must be signed even in windows X-Git-Tag: v1.8.90~137 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F485%2Fhead;p=tigervnc.git ssize_t must be signed even in windows --- 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 -typedef size_t ssize_t; + #if defined(_WIN64) + typedef __int64 ssize_t; + #else + typedef long ssize_t; + #endif #endif