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

@ -152,7 +152,7 @@ static void parse_array_should_not_parse_non_arrays(void)
assert_not_array("\"[]hello world!\n\"");
}
int main(void)
int CJSON_CDECL main(void)
{
/* initialize cJSON item */
memset(item, 0, sizeof(cJSON));