summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-19 02:46:28 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-19 02:46:28 +0000
commit8dd809122258cf316785d5e63b67ef542c103fdc (patch)
tree3425741fe36ce594fda0f0ff3d823ff5d355ee00 /regex.c
parentd537c9465ca4848ffd024237f4c88ad2c4fc4558 (diff)
downloadruby-8dd809122258cf316785d5e63b67ef542c103fdc.tar.gz
ruby-8dd809122258cf316785d5e63b67ef542c103fdc.tar.xz
ruby-8dd809122258cf316785d5e63b67ef542c103fdc.zip
* ruby.h: enable volatile directive with VC++.
* regex.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index b2e25fcf6..206e99a0c 100644
--- a/regex.c
+++ b/regex.c
@@ -51,7 +51,7 @@
# include <sys/types.h>
#endif
-#ifndef __STDC__
+#if !defined(__STDC__) && !defined(_MSC_VER)
# define volatile
#endif