From e2418e3fcada21067b98032d514c34586f078b5b Mon Sep 17 00:00:00 2001 From: ngoto Date: Tue, 6 Nov 2012 07:30:49 +0000 Subject: [PATCH] * atomic.h: add #include 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 --- ChangeLog | 6 ++++++ atomic.h | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0e186d5d53..8134928758 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Nov 6 16:22:30 2012 Naohisa Goto + + * atomic.h: add #include 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 * test/win32ole/test_win32ole.rb: now source encoding is UTF-8, so diff --git a/atomic.h b/atomic.h index f4dd5db38a..4a5ba188b1 100644 --- a/atomic.h +++ b/atomic.h @@ -65,6 +65,7 @@ rb_w32_atomic_or(volatile rb_atomic_t *var, rb_atomic_t val) #elif defined(__sun) #include +#include typedef unsigned int rb_atomic_t; # define ATOMIC_SET(var, val) (void)atomic_swap_uint(&(var), (val))