Commit afb8d94e authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Ignore syscalls that point to an alias.

parent b892d12c
...@@ -1402,6 +1402,7 @@ void output_syscalls( DLLSPEC *spec ) ...@@ -1402,6 +1402,7 @@ void output_syscalls( DLLSPEC *spec )
{ {
ORDDEF *odp = &spec->entry_points[i]; ORDDEF *odp = &spec->entry_points[i];
if (!(odp->flags & FLAG_SYSCALL)) continue; if (!(odp->flags & FLAG_SYSCALL)) continue;
if (strcmp( odp->name, odp->link_name )) continue; /* ignore syscall aliases */
if (!syscalls) syscalls = xmalloc( (spec->nb_entry_points - i) * sizeof(*syscalls) ); if (!syscalls) syscalls = xmalloc( (spec->nb_entry_points - i) * sizeof(*syscalls) );
syscalls[count++] = odp; syscalls[count++] = odp;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment