* ruby_atomic.h (ATOMIC_CAS): suppress C4022 and C4047 warnings in
VC6. only InterlockedCompareExchange is declared using PVOID.
* ruby_atomic.h (rb_w32_atomic_cas): call InterlockedCompareExchange
directly.
* ruby_atomic.h (ATOMIC_CAS): fix missing function call.
* ruby_atomic.h (ATOMIC_SIZE_CAS): new macro, compare and swap size_t.
* ruby_atomic.h (ATOMIC_SIZE_CAS): fix compile error on Solaris
since r43460.
merge revision(s) 41759,41760,43356,43460,43677:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e