mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-19 18:54:04 +00:00
Force the test's main function to use cdecl under Windows
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
This commit is contained in:
parent
8c1d5d4839
commit
6e6ec54beb
@ -69,7 +69,12 @@ static libgit2_suite suite_methods[]= {
|
||||
|
||||
#define GIT_SUITE_COUNT (ARRAY_SIZE(suite_methods))
|
||||
|
||||
int main(int GIT_UNUSED(argc), char *GIT_UNUSED(argv[]))
|
||||
#ifdef GIT_WIN32
|
||||
int __cdecl
|
||||
#else
|
||||
int
|
||||
#endif
|
||||
main(int GIT_UNUSED(argc), char *GIT_UNUSED(argv[]))
|
||||
{
|
||||
unsigned int i, failures;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user