[PATCH] ntdll: split out sort and handle win64 cdecl

Alexandre Julliard julliard at winehq.org
Fri Apr 16 09:33:20 CDT 2010


Marcus Meissner <meissner at suse.de> writes:

> qsort() calls a cdecl routine, but Win64 cdecl is sadly
> not UNIX cdecl... So we need a wrapper.
>
> Hope this kind of ifdef magic is acceptable, I don't want
> it for win32.

That looks quite inefficient, not to mention not thread-safe. It would
be better to reimplement these functions, that's not hard.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list