Support default __stdcall calling convention on tests as well

This commit is contained in:
Zach Hindes
2018-09-12 15:32:30 -05:00
parent ad2cb5b7ea
commit f25b8448e4
18 changed files with 21 additions and 19 deletions

View File

@ -89,7 +89,7 @@ static void print_number_should_print_non_number(void)
/* assert_print_number("null", -INFTY); */
}
int main(void)
int CJSON_CDECL main(void)
{
/* initialize cJSON item */
UNITY_BEGIN();