Re: [Mingw-w64-public] [PATCH] headers: Avoid using the dllimported versions of Interlocked functions on i386

2017-11-20 Thread Martin Storsjö
On Wed, 15 Nov 2017, Martin Storsjö wrote: Complete the mapping of unprefixed Interlocked functions to the ones starting with an underscore in winnt.h. This makes it consistent with x86_64. Avoid declaring the dllimported versions of the functions. We currently export them with the __imp_

[Mingw-w64-public] [PATCH] headers: Avoid using the dllimported versions of Interlocked functions on i386

2017-11-15 Thread Martin Storsjö
Complete the mapping of unprefixed Interlocked functions to the ones starting with an underscore in winnt.h. This makes it consistent with x86_64. Avoid declaring the dllimported versions of the functions. We currently export them with the __imp_ prefix in lib32/kernel32.def (but marked as DATA,