Skip to content
Browse files

* 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
  • Loading branch information...
1 parent d537c94 commit 8dd809122258cf316785d5e63b67ef542c103fdc @unak unak committed Jul 19, 2001
Showing with 9 additions and 3 deletions.
  1. +7 −1 ChangeLog
  2. +1 −1 regex.c
  3. +1 −1 ruby.h
View
8 ChangeLog
@@ -1,4 +1,10 @@
-Fri Jul 17 06:01:12 2001 Minero Aoki <aamine@loveruby.net>
+Tue Jul 17 11:44:40 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+
+ * ruby.h: enable volatile directive with VC++.
+
+ * regex.c: ditto.
+
+Tue Jul 17 06:01:12 2001 Minero Aoki <aamine@loveruby.net>
* doc/net/smtp.rd.ja, pop.rd.ja, http.rd.ja: new files.
View
2 regex.c
@@ -51,7 +51,7 @@
# include <sys/types.h>
#endif
-#ifndef __STDC__
+#if !defined(__STDC__) && !defined(_MSC_VER)
# define volatile
#endif
View
2 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

0 comments on commit 8dd8091

Please sign in to comment.
Something went wrong with that request. Please try again.