X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Futil.h;h=a27209f4a142074276b012ba8182acb2d484e084;hb=45784a92fca96a690034b94f3b1969decd0acb1e;hp=2242735279e04b09e242513a0d1a658e1d4243c5;hpb=06e2ee5ccf545c5e63ad0119ccc7e41653641c86;p=mech_eap.orig diff --git a/mech_eap/util.h b/mech_eap/util.h index 2242735..a27209f 100644 --- a/mech_eap/util.h +++ b/mech_eap/util.h @@ -744,6 +744,13 @@ verifyTokenHeader(OM_uint32 *minor, #define GSSEAP_FREE free #define GSSEAP_REALLOC realloc +#ifndef GSSAPI_CALLCONV +#define GSSAPI_CALLCONV KRB5_CALLCONV +#endif + +#define GSSEAP_CONSTRUCTOR __attribute__((constructor)) +#define GSSEAP_DESTRUCTOR __attribute__((destructor)) + #define GSSEAP_NOT_IMPLEMENTED do { \ assert(0 && "not implemented"); \ *minor = ENOSYS; \