Zebediah Figura zfigura@codeweavers.com writes:
Note also that the definition of WINE_SYSCALL is guarded by _NTSYSTEM_. This looks like it breaks import from Unix libraries, but in practice the only Unix library to import Nt* syscalls defines _NTSYSTEM_. This seems a bit fragile to me, but the current state looks already fragile, so I'm leaving it alone in this patch, for now...
Unix libraries that use the new __wine_unix_call scheme can link directly to ntdll functions, and would need the same treatment.
I was planning to do something like this once the Unix lib transition is complete, but I think right now it's a bit premature.