3 Jul
2007
3 Jul
'07
4:58 p.m.
Vitaliy Margolen <wine-devel(a)kievinfo.com> writes:
As I recall the problem was with the way InterlockedExchangePointer() and InterlockedCompareExchangePointer() are defined. I'm guessing compiler/linker can't optimize this away, if they are not used. And lots of programs in tools/ do include the winbase.h.
Ah I see, so the problem is really the static inline. I'm not sure there's a good way to fix that one except by exporting the *Pointer functions from kernel32, but that's not strictly compatible. -- Alexandre Julliard julliard(a)winehq.org