From db4c1561f2d707e68cc43702ab733d0a196f00e2 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 16 Dec 2005 12:44:16 +0100 Subject: [PATCH] winebuild: Allow -register flag for Win32 too. This way it can be used as hint for the relay code. --- tools/winebuild/parser.c | 6 ------ tools/winebuild/winebuild.man.in | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/tools/winebuild/parser.c b/tools/winebuild/parser.c index 00f1f4d86f0..0e24a53e6ad 100644 --- a/tools/winebuild/parser.c +++ b/tools/winebuild/parser.c @@ -518,12 +518,6 @@ static int parse_spec_ordinal( int ordinal, DLLSPEC *spec ) odp->ordinal = ordinal; } - if (spec->type == SPEC_WIN32 && odp->flags & FLAG_REGISTER) - { - error( "-register flag not supported for Win32 entry points\n" ); - goto error; - } - if (odp->type == TYPE_STDCALL && !(odp->flags & FLAG_PRIVATE)) { if (!strcmp( odp->name, "DllRegisterServer" ) || diff --git a/tools/winebuild/winebuild.man.in b/tools/winebuild/winebuild.man.in index a682a10646b..6c9bafcbdd5 100644 --- a/tools/winebuild/winebuild.man.in +++ b/tools/winebuild/winebuild.man.in @@ -260,7 +260,7 @@ The function returns a 64-bit value (Win32 only). The entry point is only available on i386 platforms. .TP .B -register -The function uses CPU register to pass arguments (Win16 only). +The function uses CPU register to pass arguments. .TP .B -private The function cannot be imported from other dlls, it can only be