From 2d84b42b0072d7bbff8846348b8469d0fc34fd82 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 19 Jul 2001 02:46:28 +0000 Subject: * 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 --- ruby.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index bbd5819242..a2d7f981da 100644 --- a/ruby.h +++ b/ruby.h @@ -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 -- cgit v1.2.3