From d4241a2a84ada727a4c27c808ab3bcb6445f8cd6 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 28 Feb 2014 15:36:27 +0000 Subject: [PATCH] build: various MSVC compilation fixes. --- src/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core.h b/src/core.h index 07c67fb7..0981b157 100644 --- a/src/core.h +++ b/src/core.h @@ -95,11 +95,12 @@ /* Ensure we have ssize_t */ #if defined ssize_t - /* do nothing */ + /* Do nothing, someone knows better than us it seems */ #elif HAVE_SYS_TYPES_H # include #elif _MSC_VER /* Visual Studio compiler */ # include +# define _MSC_STDINT_H_ typedef SSIZE_T ssize_t; #endif