Remove #if statement that used sizeof(xxx), since that won't work for
authorTheodore Tso <tytso@mit.edu>
Thu, 11 Jan 1996 02:32:24 +0000 (02:32 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 11 Jan 1996 02:32:24 +0000 (02:32 +0000)
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
src/lib/gssapi/generic/gssapi.h

index fc79eb2c1686799e1da1b9b8a4a0c93b2de524fa..6df03e693f00e058472a2dfa82e25bb1f346de6b 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jan 10 21:31:42 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * 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  <tytso@dcl>
 
        * gssapiP_generic.h (TWRITE_INT16, TREAD_INT16): Added new macros
index a715a9aa4f8e89360f6beb40f85320217b6d9445..7de803473b46625925480bd6c105d7d63adb0e8d 100644 (file)
@@ -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 */
 /*