Commit 54500d58 authored by Guillaume Beraudo's avatar Guillaume Beraudo

Avoid conflict on INVALID_SOCKET and SOCKET_ERROR macros.

parent 7faf69b5
......@@ -94,8 +94,10 @@ typedef LONGLONG Int64;
#else
typedef int Socket;
#ifndef INVALID_SOCKET
#define INVALID_SOCKET -1
#define SOCKET_ERROR -1
#endif
#define closesocket(fd) close(fd)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment