Vitaliy Margolen <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]