Compatible with MinGW now.

This commit is contained in:
Nach 2007-11-19 22:23:18 +00:00
parent 08f8b4cac6
commit f571b2fadd
1 changed files with 9 additions and 0 deletions

View File

@ -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];