Module: wine Branch: master Commit: afb8d94e2f5e79ddeef4f9d63966787557a3d0ac URL: https://gitlab.winehq.org/wine/wine/-/commit/afb8d94e2f5e79ddeef4f9d63966787...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Aug 28 18:38:51 2023 +0200
winebuild: Ignore syscalls that point to an alias.
---
tools/winebuild/import.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index 99258a94527..de4bc26f60d 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -1402,6 +1402,7 @@ void output_syscalls( DLLSPEC *spec ) { ORDDEF *odp = &spec->entry_points[i]; 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) ); syscalls[count++] = odp; }