diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 07:30:49 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 07:30:49 +0000 |
commit | e2418e3fcada21067b98032d514c34586f078b5b (patch) | |
tree | fb72dad292b8358e383e670cdb58ce4ff91f4f40 | |
parent | bba3ceafa5a79e2c5d90c13d630c94b66a5da797 (diff) |
* atomic.h: add #include <sys/atomic.h> for the workaround of
header file name conflict of atomic.h with /usr/include/atomic.h
on Solaris 10. [ruby-dev:46414] [Bug #7287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | atomic.h | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Tue Nov 6 16:22:30 2012 Naohisa Goto <[email protected]> + + * atomic.h: add #include <sys/atomic.h> for the workaround of + header file name conflict of atomic.h with /usr/include/atomic.h + on Solaris 10. [ruby-dev:46414] [Bug #7287] + Tue Nov 6 14:38:00 2012 NAKAMURA Usaku <[email protected]> * test/win32ole/test_win32ole.rb: now source encoding is UTF-8, so @@ -65,6 +65,7 @@ rb_w32_atomic_or(volatile rb_atomic_t *var, rb_atomic_t val) #elif defined(__sun) #include <atomic.h> +#include <sys/atomic.h> typedef unsigned int rb_atomic_t; # define ATOMIC_SET(var, val) (void)atomic_swap_uint(&(var), (val)) |