Mac compat
This commit is contained in:
@@ -61,6 +61,11 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Compatiblity with MIT Kerberos on the Mac */
|
||||||
|
#if defined(__APPLE__) && (defined(__ppc__) || defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
|
||||||
|
#pragma pack(push,2)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define GSSAPI_CPP_START extern "C" {
|
#define GSSAPI_CPP_START extern "C" {
|
||||||
#define GSSAPI_CPP_END }
|
#define GSSAPI_CPP_END }
|
||||||
@@ -1106,6 +1111,10 @@ gss_name_to_oid(const char *name);
|
|||||||
|
|
||||||
GSSAPI_CPP_END
|
GSSAPI_CPP_END
|
||||||
|
|
||||||
|
#if defined(__APPLE__) && (defined(__ppc__) || defined(__ppc64__) || defined(__i386__) || defined(__x86_64__))
|
||||||
|
#pragma pack(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef GSSAPI_DEPRECATED_FUNCTION
|
#undef GSSAPI_DEPRECATED_FUNCTION
|
||||||
|
|
||||||
#endif /* GSSAPI_GSSAPI_H_ */
|
#endif /* GSSAPI_GSSAPI_H_ */
|
||||||
|
Reference in New Issue
Block a user