vxWorks does not have SD_BOTH ??

This commit is contained in:
Jeff Hill
2000-03-11 01:39:59 +00:00
parent 0767a35b96
commit 7a173ed34c
+2
View File
@@ -34,6 +34,8 @@ typedef int SOCKET;
#define SOCKERRNO errno
#define SOCKERRSTR(ERRNO_IN) (strerror(ERRNO_IN))
#define socket_close(S) close(S)
#define SD_BOTH 2
/*
* it is quite lame on WRS's part to assume that
* a ptr is always the same as an int