mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Remove support for 'file', 'name', and 'mode' in .spec files.
This commit is contained in:
parent
353ce51be7
commit
7e035e290a
1 changed files with 1 additions and 19 deletions
|
@ -504,25 +504,7 @@ SPEC_TYPE ParseTopLevel( FILE *file, int def_only )
|
|||
|
||||
while ((token = GetToken(1)) != NULL)
|
||||
{
|
||||
if (strcmp(token, "name") == 0)
|
||||
{
|
||||
strcpy(DLLName, GetToken(0));
|
||||
}
|
||||
else if (strcmp(token, "file") == 0)
|
||||
{
|
||||
strcpy(DLLFileName, GetToken(0));
|
||||
}
|
||||
else if (strcmp(token, "mode") == 0)
|
||||
{
|
||||
token = GetToken(0);
|
||||
if (!strcmp(token, "dll" )) SpecMode = SPEC_MODE_DLL;
|
||||
else if (!strcmp(token, "guiexe" )) SpecMode = SPEC_MODE_GUIEXE;
|
||||
else if (!strcmp(token, "cuiexe" )) SpecMode = SPEC_MODE_CUIEXE;
|
||||
else if (!strcmp(token, "guiexe_unicode" )) SpecMode = SPEC_MODE_GUIEXE_UNICODE;
|
||||
else if (!strcmp(token, "cuiexe_unicode" )) SpecMode = SPEC_MODE_CUIEXE_UNICODE;
|
||||
else fatal_error( "Mode must be 'dll', 'guiexe', 'cuiexe', 'guiexe_unicode' or 'cuiexe_unicode'\n" );
|
||||
}
|
||||
else if (strcmp(token, "heap") == 0)
|
||||
if (strcmp(token, "heap") == 0)
|
||||
{
|
||||
token = GetToken(0);
|
||||
if (!IsNumberString(token)) fatal_error( "Expected number after heap\n" );
|
||||
|
|
Loading…
Reference in a new issue