diff options
author | fcolin | 2003-05-20 13:25:24 +0000 |
---|---|---|
committer | fcolin | 2003-05-20 13:25:24 +0000 |
commit | 0e61d9d41baac1c5c3c7e678f97afc24aeb74bf4 (patch) | |
tree | 7b2232e1370a6b97b2989ae4a8fe9d1b5262f942 /src | |
parent | 30314b75edd5c948529d7e05d83a922c91632419 (diff) | |
download | ivy-c-0e61d9d41baac1c5c3c7e678f97afc24aeb74bf4.zip ivy-c-0e61d9d41baac1c5c3c7e678f97afc24aeb74bf4.tar.gz ivy-c-0e61d9d41baac1c5c3c7e678f97afc24aeb74bf4.tar.bz2 ivy-c-0e61d9d41baac1c5c3c7e678f97afc24aeb74bf4.tar.xz |
modif pour compilation avec MinGW
Diffstat (limited to 'src')
-rw-r--r-- | src/ivysocket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ivysocket.h b/src/ivysocket.h index 26daf85..9eb91d7 100644 --- a/src/ivysocket.h +++ b/src/ivysocket.h @@ -27,8 +27,14 @@ extern "C" { #ifdef WIN32 #include <windows.h> +#ifdef __MINGW32__ +#include <ws2tcpip.h> +#endif #define HANDLE SOCKET +#define socklen_t int +#ifndef IN_MULTICAST #define IN_MULTICAST(i) (((long)(i) & 0xf0000000) == 0xe0000000) +#endif #else #define HANDLE int #include <netinet/in.h> |