Module: wine
Branch: refs/heads/master
Commit: db4c1561f2d707e68cc43702ab733d0a196f00e2
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=db4c1561f2d707e68cc4370…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Dec 16 12:44:16 2005 +0100
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 insertions(+), 7 deletions(-)
diff --git a/tools/winebuild/parser.c b/tools/winebuild/parser.c
index 00f1f4d..0e24a53 100644
--- a/tools/winebuild/parser.c
+++ b/tools/winebuild/parser.c
@@ -518,12 +518,6 @@ static int parse_spec_ordinal( int ordin
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 a682a10..6c9bafc 100644
--- a/tools/winebuild/winebuild.man.in
+++ b/tools/winebuild/winebuild.man.in
@@ -260,7 +260,7 @@ The function returns a 64-bit value (Win
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