Skip to content
Snippets Groups Projects
Commit a8988ad1 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Switch all *nix systems to use send()

Bwa ha ha!
parent 951c22af
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,7 @@ typedef ULONG nfds_t; ...@@ -209,7 +209,7 @@ typedef ULONG nfds_t;
#define ioctlsocket ioctl #define ioctlsocket ioctl
#define SOCKET_ERRNO errno #define SOCKET_ERRNO errno
#define ERROR_VALUE errno #define ERROR_VALUE errno
#define sendsocket write /* FreeBSD send() is broken */ #define sendsocket(s,b,l) send(s,b,l,0) /* FreeBSD send() is NOT broken Kaila */
#ifdef __WATCOMC__ #ifdef __WATCOMC__
#define socklen_t int #define socklen_t int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment