9.10.2011 - stable backup commit
This commit is contained in:
15
piethernet.h
15
piethernet.h
@@ -4,12 +4,17 @@
|
||||
#include "pithread.h"
|
||||
#include "pistring.h"
|
||||
#ifndef WINDOWS
|
||||
# include <netinet/in.h>
|
||||
# include <arpa/inet.h>
|
||||
# include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
# include <winsock2.h>
|
||||
# define SHUT_RDWR SD_BOTH
|
||||
# ifdef CC_VC
|
||||
#include <winsock.h>
|
||||
# define SHUT_RDWR 2
|
||||
# else
|
||||
#include <winsock2.h>
|
||||
# define SHUT_RDWR SD_BOTH
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BUFFER_SIZE 4096
|
||||
|
||||
Reference in New Issue
Block a user