mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
SLIRP: Fix Coverity changes
This commit is contained in:
parent
71abd2896c
commit
06d78600b3
@ -90,8 +90,10 @@ extern "C" {
|
||||
#endif
|
||||
#define WSAEACCES EACCES
|
||||
#define WSAEINTR EINTR
|
||||
#define INVALID_SOCKET ((SOCKET)-1)
|
||||
#define SOCKET_ERROR -1
|
||||
#define INVALID_SOCKET ((SOCKET)-1)
|
||||
#if !defined(SOCKET_ERROR)
|
||||
#define SOCKET_ERROR (-1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (VMS) /* VMS unique */
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
typedef int SOCKET;
|
||||
#define SOCKET_ERROR (-1)
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user