Skip to content
Snippets Groups Projects
Commit 5bf46e48 authored by rswindell's avatar rswindell
Browse files

Defined SHUT_RDWR, if not predefined (usually in socket.h), for all platforms.

parent 0a0c0cf5
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,6 @@
#define ERROR_VALUE WSAGetLastError()
#define SHUT_RDWR 2 /* for shutdown() */
#else /* BSD sockets */
/* WinSock-isms */
......@@ -102,4 +100,8 @@
#endif /* __unix__ */
#ifndef SHUT_RDWR
#define SHUT_RDWR 2 /* for shutdown() */
#endif
#endif /* Don't add anything after this line */
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