ecore_con: use SOCKET and not int for socket descriptors on win32

This commit is contained in:
Guillaume Friloux 2015-01-30 11:03:00 +01:00 committed by Cedric BAIL
parent 0e8e4b2728
commit f26977a175
1 changed files with 8 additions and 0 deletions

View File

@ -96,7 +96,11 @@ typedef enum Ecore_Con_Proxy_State
struct _Ecore_Con_Client_Data
{
#ifdef _WIN32
SOCKET fd;
#else
int fd;
#endif
Ecore_Con_Server *host_server;
void *data;
Ecore_Fd_Handler *fd_handler;
@ -126,7 +130,11 @@ typedef struct _Ecore_Con_Client_Data Ecore_Con_Client_Data;
struct _Ecore_Con_Server_Data
{
#ifdef _WIN32
SOCKET fd;
#else
int fd;
#endif
Ecore_Con_Type type;
char *name;
int port;