From 1e4899f263f97e0034af8d10e98f8c664fdd2a2e Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 12 May 2005 16:38:14 +0000 Subject: [PATCH] ssize_t is defined by MinGW nowadays. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1739 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/uio/uioport.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sc2/src/sc2code/libs/uio/uioport.h b/sc2/src/sc2code/libs/uio/uioport.h index ac626f967..b636667a9 100644 --- a/sc2/src/sc2code/libs/uio/uioport.h +++ b/sc2/src/sc2code/libs/uio/uioport.h @@ -70,10 +70,8 @@ typedef short gid_t; #endif // Some types -#ifdef WIN32 -typedef int ssize_t; -#endif #ifdef _MSC_VER +typedef int ssize_t; typedef unsigned short mode_t; #endif