From 705921b297103db6212c2c8512c917abf62f8093 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Jul 2011 05:12:16 +0000 Subject: *** empty log message *** --- eio.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'eio.h') diff --git a/eio.h b/eio.h index 145b374..97d088a 100644 --- a/eio.h +++ b/eio.h @@ -69,7 +69,11 @@ typedef int (*eio_cb)(eio_req *req); #ifdef _WIN32 typedef int eio_uid_t; typedef int eio_gid_t; - typedef intptr_t eio_ssize_t; /* or SSIZE_T */ + #ifdef _MINGW32_ /* no intptr_t */ + typedef ssize_t eio_ssize_t; + #else + typedef intptr_t eio_ssize_t; /* or SSIZE_T */ + #endif #if __GNUC__ typedef long long eio_ino_t; #else -- cgit v1.2.3