From cbb42599ad015330c303c3dc455a0c19cc6c0f04 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 26 Feb 2004 23:27:49 +0000 Subject: [PATCH] fix GET{SOCK,PEER}NAME_ARG{2,3}_TYPE lossage I created git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16135 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 7 +++++++ src/include/win-mac.h | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 1e5b3e90b..afe296be9 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,10 @@ +2004-02-26 Ken Raeburn + + * win-mac.h (GETSOCKNAME_ARG2_TYPE, GETSOCKNAME_ARG3_TYPE): Set + proper values for Windows here. + (GETPEERNAME_ARG2_TYPE, GETPEERNAME_ARG3_TYPE): Map to the + getsockname versions. + 2004-02-24 Sam Hartman * krb5.hin: Remove des3 with 32-bit length diff --git a/src/include/win-mac.h b/src/include/win-mac.h index d1ad62bef..396446040 100644 --- a/src/include/win-mac.h +++ b/src/include/win-mac.h @@ -157,6 +157,11 @@ typedef unsigned char u_char; HINSTANCE get_lib_instance(void); +#define GETSOCKNAME_ARG2_TYPE struct sockaddr +#define GETSOCKNAME_ARG3_TYPE size_t +#define GETPEERNAME_ARG2_TYPE GETSOCKNAME_ARG2_TYPE +#define GETPEERNAME_ARG3_TYPE GETSOCKNAME_ARG3_TYPE + #endif /* !RES_ONLY */ #endif /* _WIN32 */ -- 2.26.2