Patch to fix build without optimization

Shachar Shemesh wine-devel at
Thu Sep 18 10:44:42 CDT 2003

Pavel Roskin wrote:


>I see two solutions.  One is to link wine executable against kernel32.dll.
I don't think you can do that. As kernel32.dll requires ntdll, you would 
create a real circular dependancy.

>Another is to use the low-level function interlocked_cmpxchg_ptr(), which
>is what other code linked with "wine" does.

Shachar Shemesh
Open Source integration consultant
Home page & resume -

More information about the wine-devel mailing list