From 30f0ea3846727d28e60f227d3308ce3764be1ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Fri, 4 Oct 2013 21:59:18 +0000 Subject: [PATCH] ssize_t is missing on Windows, so typdef it. svn path=/trunk/; revision=52370 --- cmakeconfig.h.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 76a24b54f4..1c43c9d65c 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -407,3 +407,7 @@ /* _U_ isn't needed for C++, simply don't name the variable. However, we do need it for some headers that are shared between C and C++. */ #define _U_ ${C_UNUSED} + +#if defined(_WIN32) +typedef long ssize_t; +#endif