apparently IPPORT_USERRESERVED isnt defined on certain SGI OS versions

This commit is contained in:
Jeff Hill
1999-11-16 22:12:37 +00:00
parent c856fe54c8
commit 54400c12cf
2 changed files with 8 additions and 0 deletions

View File

@@ -46,6 +46,10 @@ typedef int osiSockIoctl_t;
#define FD_IN_FDSET(FD) ((FD)<FD_SETSIZE&&(FD)>=0)
#ifndef IPPORT_USERRESERVED
#define IPPORT_USERRESERVED 5000
#endif
#define SOCK_EWOULDBLOCK EWOULDBLOCK
#define SOCK_ENOBUFS ENOBUFS
#define SOCK_ECONNRESET ECONNRESET

View File

@@ -46,6 +46,10 @@ typedef int osiSockIoctl_t;
#define FD_IN_FDSET(FD) ((FD)<FD_SETSIZE&&(FD)>=0)
#ifndef IPPORT_USERRESERVED
#define IPPORT_USERRESERVED 5000
#endif
#define SOCK_EWOULDBLOCK EWOULDBLOCK
#define SOCK_ENOBUFS ENOBUFS
#define SOCK_ECONNRESET ECONNRESET