winebuild: Allow -register flag for Win32 too.

This way it can be used as hint for the relay code.
This commit is contained in:
Alexandre Julliard 2005-12-16 12:44:16 +01:00
parent 628ede4783
commit db4c1561f2
2 changed files with 1 additions and 7 deletions

View File

@ -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" ) ||

View File

@ -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