Bug 604653 - 64bit Mac build crashes with negotiate auth and Kerberos [@ Kerberos@0x6a163 ]; r=sxw a=blocker
authorDavid Bienvenu <bienvenu@nventure.com>
Fri, 10 Dec 2010 09:09:11 +0000
changeset 59074 2705b22189f9f633ff52c3b76e86080d898d0930
parent 59073 1b0158a0a67ea26decfdf1867c0d42ea9f664d7a
child 59075 0b6a14a73d940f6d32efd5f972649da6192611f8
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewerssxw, blocker
bugs604653
milestone2.0b8pre
Bug 604653 - 64bit Mac build crashes with negotiate auth and Kerberos [@ Kerberos@0x6a163 ]; r=sxw a=blocker
extensions/auth/gssapi.h
--- a/extensions/auth/gssapi.h
+++ b/extensions/auth/gssapi.h
@@ -89,16 +89,20 @@
 #else
 #define EXTERN_C_BEGIN
 #define EXTERN_C_END
 #endif
 #endif
 
 EXTERN_C_BEGIN
 
+#if defined(XP_MACOSX)
+#    pragma pack(push,2)
+#endif
+
 /*
  * If the platform supports the xom.h header file, it should be
  * included here.
  */
 /* #include <xom.h> */
 
 
 /*
@@ -829,13 +833,16 @@ GSS_CALLCONV GSS_FUNC(gss_duplicate_name
                gss_ctx_id_t,       /* context_handle */
                gss_buffer_t,       /* input_message_buffer */
                gss_buffer_t,       /* output_message_buffer */
                int *,              /* conf_state */
                int *               /* qop_state */
               );
 
 
+#if defined(XP_MACOSX)
+#    pragma pack(pop)
+#endif
 
 EXTERN_C_END
 
 #endif /* GSSAPI_H_ */