From 2bb5441808b95926697799de2ab2d2675c89084e Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 24 Oct 2011 14:57:08 +0000 Subject: * complex.c: use "__sun" instead of "__sun__" to detect SunOS. * math.c: ditto. * hash.c: ditto. * atomic.h: ditto. * ext/io/wait/wait.c: ditto. [ruby-dev:44693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atomic.h') diff --git a/atomic.h b/atomic.h index 6dbad6db2d..d314804a15 100644 --- a/atomic.h +++ b/atomic.h @@ -42,7 +42,7 @@ typedef unsigned int rb_atomic_t; /* Anything OK */ # define ATOMIC_OR(var, val) __sync_or_and_fetch(&(var), (val)) # define ATOMIC_EXCHANGE(var, val) __sync_lock_test_and_set(&(var), (val)) -#elif defined(__sun) || defined(__sun__) +#elif defined(__sun) #include typedef unsigned int rb_atomic_t; -- cgit v1.2.3