forked from mirror/OpenTTD
(svn r1281) -Fix: the OS/2 is now finished. Fixes:
- Networking - File selector issue - Keyboard input - Dedicated server console issue (use dedicated.cmd to open a server) - Plus many other minor issues
This commit is contained in:
@@ -88,7 +88,7 @@ typedef struct ifreq IFREQ;
|
||||
typedef struct ifreq IFREQ;
|
||||
# define ioctlsocket ioctl
|
||||
# define closesocket close
|
||||
# define GET_LAST_ERROR() (errno)
|
||||
# define GET_LAST_ERROR() (sock_errno())
|
||||
|
||||
// Includes needed for OS/2 systems
|
||||
# include <types.h>
|
||||
@@ -103,6 +103,7 @@ typedef struct ifreq IFREQ;
|
||||
# include <sys/time.h>
|
||||
# include <netdb.h>
|
||||
# include <nerrno.h>
|
||||
# define INADDR_NONE 0xffffffff
|
||||
|
||||
typedef unsigned long in_addr_t;
|
||||
#endif // OS/2
|
||||
|
Reference in New Issue
Block a user