base: common_plugin.h define KRB5_CALLCONV / KRB5_LIB_CALL

common_plugin.h is expected to be usable on its own.
For backward compatibility, restore the definitions of
KRB5_CALLCONV and KRB5_LIB_CALL.

Change-Id: I6d2239f91ab48b9a6b71816b5221807382dc5914
This commit is contained in:
Jeffrey Altman
2020-05-27 22:16:52 -04:00
committed by Nico Williams
parent d4c0d34548
commit 33bb2479b9

View File

@@ -51,6 +51,12 @@
# define HEIM_LIB_CALL # define HEIM_LIB_CALL
# endif # endif
#endif #endif
#ifndef KRB5_CALLCONV
# define KRB5_CALLCONV HEIM_CALLCONV
#endif
#ifndef KRB5_LIB_CALL
# define KRB5_LIB_CALL HEIM_LIB_CALL
#endif
/* For krb5 plugins, this is a krb5_context */ /* For krb5 plugins, this is a krb5_context */
typedef struct heim_pcontext_s *heim_pcontext; typedef struct heim_pcontext_s *heim_pcontext;