diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-20 10:41:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-20 10:41:09 +0000 |
commit | 3a996e8a83203b6d1617b6fa13b04ea33754025a (patch) | |
tree | 00097fb57805a61433b54ea1d219bde043402154 /proc.c | |
parent | 714d72c90cd396c183f8521143af5129d35b97ae (diff) | |
download | ruby-3a996e8a83203b6d1617b6fa13b04ea33754025a.tar.gz |
proc.c: suppress warning
* proc.c (NO_CLOBBERED): suppress clobbered warning which appears
only on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ * versions */ #define PROC_NEW_REQUIRES_BLOCK 0 -#if !defined(__GNUC__) || __GNUC__ < 5 +#if !defined(__GNUC__) || __GNUC__ < 5 || defined(__MINGW32__) # define NO_CLOBBERED(v) (*(volatile VALUE *)&(v)) #else # define NO_CLOBBERED(v) (v) |