use LYNXOS_RELEASE_2_4_0

This commit is contained in:
Jeff Hill
1999-03-16 21:12:10 +00:00
parent 4011e6b23e
commit e484b4a62a

View File

@@ -40,13 +40,10 @@ typedef int SOCKET;
#define SOCKERRSTR (strerror(errno))
#define socket_close(S) close(S)
#if 1
/*
* only for LynxOS v2.4.0
*/
# define socket_ioctl(A,B,C) ioctl(A,B,(char *)C)
#ifdef LYNXOS_RELEASE_2_4_0 /* only for LynxOS v2.4.0 */
# define socket_ioctl(A,B,C) ioctl(A,B,(char *)C)
#else
# define socket_ioctl(A,B,C) ioctl(A,B,C)
# define socket_ioctl(A,B,C) ioctl(A,B,C)
#endif
typedef int osiSockIoctl_t;