From 7b79fd72d1c2950200d0dc892ff43026f4a136b7 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 11 Jan 1996 02:32:24 +0000 Subject: [PATCH] Remove #if statement that used sizeof(xxx), since that won't work for most C compilers/C preprocessors! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7293 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/ChangeLog | 5 +++++ src/lib/gssapi/generic/gssapi.h | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index fc79eb2c1..6df03e693 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 10 21:31:42 1996 Theodore Y. Ts'o + + * gssapi.h: Remove #if statement that used sizeof(xxx), since that + won't work for most C compilers/C preprocessors! + Thu Jan 4 21:33:38 1996 Theodore Y. Ts'o * gssapiP_generic.h (TWRITE_INT16, TREAD_INT16): Added new macros diff --git a/src/lib/gssapi/generic/gssapi.h b/src/lib/gssapi/generic/gssapi.h index a715a9aa4..7de803473 100644 --- a/src/lib/gssapi/generic/gssapi.h +++ b/src/lib/gssapi/generic/gssapi.h @@ -127,13 +127,9 @@ typedef unsigned long gss_uint32; #ifdef OM_STRING /* - * We have included the xom.h header file. Verify that OM_uint32 is defined - * correctly. + * We have included the xom.h header file. Use the definition for + * OM_object identifier. */ -#if sizeof(gss_uint32) != sizeof(OM_uint32) -/**/#error Incompatible definition of OM_uint32 from xom.h -#endif - typedef OM_object_identifier gss_OID_desc, *gss_OID; #else /* OM_STRING */ /* -- 2.26.2