lib/hx509: declare and apply HX509_LIB_xxx macros
libhx509 is not built according to the same export and calling conventions on Windows as the other libraries. This change declares and applies HX509_LIB_FUNCTION, HX509_LIB_NORETURN_FUNCTION, HX509_LIB_CALL and HX509_LIB_VARIABLE to lib/hx509. As a result of this change the calling convention for exported functions will be __stdcall instead of __cdecl. Change-Id: Ibc3f05e8088030ef7d13798f1d9c9b190bc57797
This commit is contained in:

committed by
Nico Williams

parent
bec4818943
commit
1dd38cc3de
@@ -217,7 +217,7 @@ static struct hx509_keyset_ops keyset_dir = {
|
||||
NULL
|
||||
};
|
||||
|
||||
void
|
||||
HX509_LIB_FUNCTION void HX509_LIB_CALL
|
||||
_hx509_ks_dir_register(hx509_context context)
|
||||
{
|
||||
_hx509_ks_register(context, &keyset_dir);
|
||||
|
Reference in New Issue
Block a user