summaryrefslogtreecommitdiff
path: root/src/ivysocket.c
diff options
context:
space:
mode:
authorfcolin2008-06-23 12:57:35 +0000
committerfcolin2008-06-23 12:57:35 +0000
commitf4c5e0df26399eb354fb909aef19045645007715 (patch)
tree8a179e8780051e84f82169765502fdd50b0bb95c /src/ivysocket.c
parentc8fa99ae894adf2643c9cf44b570a39931d5d1ee (diff)
downloadivy-c-f4c5e0df26399eb354fb909aef19045645007715.zip
ivy-c-f4c5e0df26399eb354fb909aef19045645007715.tar.gz
ivy-c-f4c5e0df26399eb354fb909aef19045645007715.tar.bz2
ivy-c-f4c5e0df26399eb354fb909aef19045645007715.tar.xz
Mise a jour pour compilation MinGW
Diffstat (limited to 'src/ivysocket.c')
-rw-r--r--src/ivysocket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ivysocket.c b/src/ivysocket.c
index cc9a54b..10bceae 100644
--- a/src/ivysocket.c
+++ b/src/ivysocket.c
@@ -29,7 +29,9 @@
#include <fcntl.h>
#ifdef WIN32
+#ifndef __MINGW32__
typedef int ssize_t;
+#endif
#define close closesocket
/*#define perror (a ) printf(a" error=%d\n",WSAGetLastError());*/
#else