mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
libadmin-windows-socket-20090320
LICENSE IPL10 a socket on Windows is type SOCKET not HANDLE
This commit is contained in:
parent
df961512e1
commit
14a6075495
@ -71,11 +71,12 @@ typedef struct afs_ClientConfig {
|
||||
} afs_ClientConfig_t, *afs_ClientConfig_p;
|
||||
|
||||
#if AFS_NT40_ENV
|
||||
typedef HANDLE rxdebugSocket_t;
|
||||
typedef SOCKET rxdebugSocket_t;
|
||||
#define INVALID_RXDEBUG_SOCKET INVALID_SOCKET
|
||||
#else /* AFS_NT40_ENV */
|
||||
typedef int rxdebugSocket_t;
|
||||
#endif /* AFS_NT40_ENV */
|
||||
#define INVALID_RXDEBUG_SOCKET ((rxdebugSocket_t)-1)
|
||||
#endif /* AFS_NT40_ENV */
|
||||
|
||||
typedef struct {
|
||||
rxdebugSocket_t sock;
|
||||
|
Loading…
Reference in New Issue
Block a user