[llvm-commits] [patch] Fix Windows Atomic implementation

Óscar Fuentes ofv at wanadoo.es
Sun Dec 6 21:31:16 PST 2009


"Michael Beck" <mm.beck at gmx.net> writes:

> The following patch fixes the Atomic implementation if compiled by
> MSVC compiler.  sys::cas_flag should be long on this platform,
> InterlockedAdd() is defined only for the Itanium architecture
> (according to MSDN).
>
> If this and my previous patch to cmake/modules/CheckAtomic.cmake are
> applied, cmake builds with MSVC will contain multithreading support.

Applied in r90748. Thanks!

-- 
Óscar




More information about the llvm-commits mailing list