From c87c5e3d2283577fceb7a0f0db7f7118f4440a4f Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 27 Nov 2000 01:33:55 +0000 Subject: [PATCH] The init function can be called main. --- tools/winebuild/parser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/winebuild/parser.c b/tools/winebuild/parser.c index b4b27689faa..897c6e97211 100644 --- a/tools/winebuild/parser.c +++ b/tools/winebuild/parser.c @@ -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) {