diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-07-19 02:46:28 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-07-19 02:46:28 +0000 |
commit | 2d84b42b0072d7bbff8846348b8469d0fc34fd82 (patch) | |
tree | 3425741fe36ce594fda0f0ff3d823ff5d355ee00 /ruby.h | |
parent | 2c85be7df37f7c5a291c74f9929490aaba11b2c2 (diff) |
* ruby.h: enable volatile directive with VC++.
* regex.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ extern "C" { #define ISDIGIT(c) isdigit((unsigned char)(c)) #define ISXDIGIT(c) isxdigit((unsigned char)(c)) -#ifndef __STDC__ +#if !defined(__STDC__) && !defined(_MSC_VER) # define volatile #endif |