- Don't generate a function with non-standard STDCALL -- WINAPI works great, I promise.

svn path=/trunk/; revision=37747
This commit is contained in:
Stefan Ginsberg 2008-11-29 21:01:42 +00:00
parent 023baca726
commit 8ad61b6d08

View file

@ -390,7 +390,7 @@ TestSupportCode::WriteStartupFile ( Module& module )
s = s + sprintf ( s, "}\n" );
s = s + sprintf ( s, "\n" );
s = s + sprintf ( s, "int\n" );
s = s + sprintf ( s, "STDCALL\n" );
s = s + sprintf ( s, "WINAPI\n" );
s = s + sprintf ( s, "WinMain(HINSTANCE hInstance,\n" );
s = s + sprintf ( s, " HINSTANCE hPrevInstance,\n" );
s = s + sprintf ( s, " LPSTR lpszCmdParam,\n" );