From 50fb8a18a3f82ecd2c408d61b761d72340f20760 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 22 May 2003 17:05:11 +0000 Subject: [PATCH] Warning suppression. --- avilib/avilib.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/avilib/avilib.c b/avilib/avilib.c index c03073fdc..2897e35ab 100644 --- a/avilib/avilib.c +++ b/avilib/avilib.c @@ -30,6 +30,11 @@ #include #define ftruncate _chsize #define strncasecmp _strnicmp +typedef int ssize_t; +#endif + +#ifdef __CYGWIN__ +#include #endif #include "avilib.h" @@ -46,12 +51,6 @@ static char id_str[MAX_INFO_STRLEN]; #define FRAME_RATE_SCALE 1000000 -//SLM -/* ssize_t not defined in vc6 */ -#if defined WIN32 -typedef int ssize_t; -#endif - /******************************************************************* * * * Utilities for writing an AVI File *