* atomic.h: Revert r37491 which is a temporary workaroud.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e4d1a8a157
commit
c4e1ecef13
@ -1,3 +1,7 @@
|
|||||||
|
Sat Nov 10 00:46:57 2012 Naohisa Goto <ngotogenome@gmail.com>
|
||||||
|
|
||||||
|
* atomic.h: Revert r37491 which is a temporary workaroud.
|
||||||
|
|
||||||
Sat Nov 10 00:33:31 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
Sat Nov 10 00:33:31 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* siphash.h: check configure macros before include newer headers.
|
* siphash.h: check configure macros before include newer headers.
|
||||||
|
1
atomic.h
1
atomic.h
@ -65,7 +65,6 @@ rb_w32_atomic_or(volatile rb_atomic_t *var, rb_atomic_t val)
|
|||||||
|
|
||||||
#elif defined(__sun)
|
#elif defined(__sun)
|
||||||
#include <atomic.h>
|
#include <atomic.h>
|
||||||
#include <sys/atomic.h>
|
|
||||||
typedef unsigned int rb_atomic_t;
|
typedef unsigned int rb_atomic_t;
|
||||||
|
|
||||||
# define ATOMIC_SET(var, val) (void)atomic_swap_uint(&(var), (val))
|
# define ATOMIC_SET(var, val) (void)atomic_swap_uint(&(var), (val))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user