From 30193518e6c00bf0eb6a59c58e32fa53a2e1357a Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 3 Feb 2005 01:09:31 +0000 Subject: [PATCH] * gssapi.hin: (GSS_SIZEOF_INT, GSS_SIZEOF_LONG, GSS_SIZEOF_SHORT): Don't define except on Windows. ticket: 2910 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17085 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/ChangeLog | 2 +- src/lib/gssapi/generic/gssapi.hin | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index e917a3387..00370a77e 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -7,7 +7,7 @@ * gssapi.hin: Always include stddef.h unconditionally. Don't conditionally include xom.h here. (GSS_SIZEOF_INT, GSS_SIZEOF_LONG, GSS_SIZEOF_SHORT): Don't - define. + define, except on Windows. 2004-06-22 Ken Raeburn diff --git a/src/lib/gssapi/generic/gssapi.hin b/src/lib/gssapi/generic/gssapi.hin index 30d69a755..83fe62bb1 100644 --- a/src/lib/gssapi/generic/gssapi.hin +++ b/src/lib/gssapi/generic/gssapi.hin @@ -44,6 +44,9 @@ extern "C" { #if defined(_MSDOS) || defined(_WIN32) #include +#define GSS_SIZEOF_SHORT SIZEOF_SHORT +#define GSS_SIZEOF_LONG SIZEOF_LONG +#define GSS_SIZEOF_INT SIZEOF_INT #endif #ifndef KRB5_CALLCONV -- 2.26.2