Compatible with MinGW now.
This commit is contained in:
parent
08f8b4cac6
commit
f571b2fadd
|
@ -2616,6 +2616,15 @@ int main(int argc, char **argv)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef __WIN32__
|
||||
extern "C" {
|
||||
int WinMain()
|
||||
{
|
||||
return(main(__argc, __argv));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void systemMessage(int num, const char *msg, ...)
|
||||
{
|
||||
char buffer[SYSMSG_BUFFER_SIZE*2];
|
||||
|
|
Loading…
Reference in New Issue