Linux specific changes to solaris file.

This commit is contained in:
Janet B. Anderson
1997-12-18 19:42:19 +00:00
parent eda286d572
commit 35096c4d5a
2 changed files with 8 additions and 8 deletions

View File

@@ -9,7 +9,7 @@
* have been adding the following in order to use POSIX signals
* and also sockets on Linux with cc -v. What a pain....
*
* #ifdef LINUX
* #ifdef linux
* #define __EXTENSIONS__
* #endif
*/
@@ -28,8 +28,8 @@ extern "C" {
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/filio.h>
#include <sys/sockio.h>
/*#include <sys/filio.h>
#include <sys/sockio.h>*/
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
@@ -53,7 +53,7 @@ typedef int SOCKET;
#define socket_close(S) close(S)
#define socket_ioctl(A,B,C) ioctl(A,B,C)
#define FD_IN_FDSET(FD) ((FD)<FD_SETSIZE&&(FD)>=0)
#define FD_IN_FDSET(FD) ((FD)<FD_SETSIZE)
#endif /*osiSockH*/