mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* signal.c(ruby_atomic_exchange): Fix definement style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dea3113ab3
commit
e6f4c92f6d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jun 23 13:30:30 2011 Shota Fukumori <sorah@tubusu.net>
|
||||
|
||||
* signal.c(ruby_atomic_exchange): Fix definement style.
|
||||
|
||||
Wed Jun 22 22:34:05 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
|
||||
|
||||
* ext/openssl/ossl_ssl.c (ossl_sslctx_session_new_cb): Return 0 to
|
||||
|
|
3
signal.c
3
signal.c
|
@ -19,7 +19,8 @@
|
|||
#include "atomic.h"
|
||||
|
||||
#if !defined(_WIN32) && !defined(HAVE_GCC_ATOMIC_BUILTINS)
|
||||
rb_atomic_t ruby_atomic_exchange(rb_atomic_t *ptr, rb_atomic_t val)
|
||||
rb_atomic_t
|
||||
ruby_atomic_exchange(rb_atomic_t *ptr, rb_atomic_t val)
|
||||
{
|
||||
rb_atomic_t old = *ptr;
|
||||
*ptr = val;
|
||||
|
|
Loading…
Reference in a new issue