diff options
author | Ken Raeburn <raeburn@mit.edu> | 2005-02-03 01:09:31 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2005-02-03 01:09:31 +0000 |
commit | 30193518e6c00bf0eb6a59c58e32fa53a2e1357a (patch) | |
tree | e390f570b935314673180ad60ec17cbb05fca79d /src/lib/gssapi | |
parent | d7404c9f4f7a25ac9bfc35b26a924293ea4e56dc (diff) | |
download | krb5-30193518e6c00bf0eb6a59c58e32fa53a2e1357a.zip krb5-30193518e6c00bf0eb6a59c58e32fa53a2e1357a.tar.gz krb5-30193518e6c00bf0eb6a59c58e32fa53a2e1357a.tar.bz2 |
* 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
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r-- | src/lib/gssapi/generic/ChangeLog | 2 | ||||
-rw-r--r-- | src/lib/gssapi/generic/gssapi.hin | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index e917a33..00370a7 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 <raeburn@mit.edu> diff --git a/src/lib/gssapi/generic/gssapi.hin b/src/lib/gssapi/generic/gssapi.hin index 30d69a7..83fe62b 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 <win-mac.h> +#define GSS_SIZEOF_SHORT SIZEOF_SHORT +#define GSS_SIZEOF_LONG SIZEOF_LONG +#define GSS_SIZEOF_INT SIZEOF_INT #endif #ifndef KRB5_CALLCONV |