mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:16:12 +00:00
The init function can be called main.
This commit is contained in:
parent
c34fe084d5
commit
c87c5e3d22
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue