libadmin-windows-socket-20090320

LICENSE IPL10

a socket on Windows is type SOCKET not HANDLE
This commit is contained in:
Jeffrey Altman 2009-03-20 11:47:00 +00:00
parent df961512e1
commit 14a6075495

View File

@ -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;