From 3e75fc789f52038579ec1ce7702e35c4c94b4881 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Tue, 1 Jan 2008 15:45:14 +0000 Subject: [PATCH] Added ssize_t typedef on Windows since it doesn't exist. This makes it compile again on Windows. --- tools/tiffdump.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/tiffdump.c b/tools/tiffdump.c index 902c8f75..f1e4e6c9 100644 --- a/tools/tiffdump.c +++ b/tools/tiffdump.c @@ -1,4 +1,4 @@ -/* $Id: tiffdump.c,v 1.15 2007-07-04 11:31:36 dron Exp $ */ +/* $Id: tiffdump.c,v 1.16 2008-01-01 15:45:14 fwarmerdam Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -52,6 +52,10 @@ # define O_BINARY 0 #endif +#if defined(_WIN32) +typedef TIFF_SSIZE_T ssize_t; +#endif + static union { TIFFHeaderClassic classic;