HP-UX's aCC compiler requires main() to return int.

This commit is contained in:
bruce%cybersight.com 1999-05-27 05:17:27 +00:00
parent 2351a1ae9e
commit a11f987e0c

View File

@ -42,12 +42,13 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmd
#endif
#ifdef XP_UNIX
void main(int argc, char **argv)
int main(int argc, char **argv)
{
int argC = argc;
WidgetTest(&argC, argv);
return 0;
}
#endif