* gssapi.hin: (GSS_SIZEOF_INT, GSS_SIZEOF_LONG, GSS_SIZEOF_SHORT): Don't
authorKen Raeburn <raeburn@mit.edu>
Thu, 3 Feb 2005 01:09:31 +0000 (01:09 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 3 Feb 2005 01:09:31 +0000 (01:09 +0000)
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
src/lib/gssapi/generic/gssapi.hin

index e917a33875b983b43d85d269da0fefabb63cbd80..00370a77e45633c803c273fb98107517469c8ec7 100644 (file)
@@ -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>
 
index 30d69a7559362c2b460762f3bd7fdd71ca7e7647..83fe62bb1b56cff0e85b312e586fc3fa726f9cf2 100644 (file)
@@ -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