From 4e3e2d95d0d8a3698d11e050238eb89b92f8e8aa Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 12 Oct 2010 23:04:53 +0000 Subject: [PATCH] Fix the Win32 build: ssize_t was no longer defined. --- caca/caca_types.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/caca/caca_types.h b/caca/caca_types.h index d20dc5a..c7d8854 100644 --- a/caca/caca_types.h +++ b/caca/caca_types.h @@ -51,14 +51,14 @@ typedef unsigned int uint32_t; typedef unsigned long long int uint64_t; # endif -# if defined _WIN64 - /* Win64, (u)intptr_t and size_t are present */ - typedef int ssize_t; -# else - /* Win32, only (u)intptr_t is present */ - typedef int ssize_t; - typedef unsigned int size_t; -# endif +# endif +# if defined _WIN64 + /* Win64, (u)intptr_t and size_t are present */ + typedef int ssize_t; +# else + /* Win32, only (u)intptr_t is present */ + typedef int ssize_t; + typedef unsigned int size_t; # endif #endif