Commit c87c5e3d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

The init function can be called main.

parent c34fe084
......@@ -559,8 +559,6 @@ SPEC_TYPE ParseTopLevel( FILE *file )
fatal_error( "init cannot be used for Win16 spec files\n" );
if (!DLLInitFunc[0])
fatal_error( "Expected function name after init\n" );
if (!strcmp(DLLInitFunc, "main"))
fatal_error( "The init function cannot be named 'main'\n" );
}
else if (strcmp(token, "import") == 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment