summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ruby.h b/ruby.h
index 24ebc4c..b00b9fa 100644
--- a/ruby.h
+++ b/ruby.h
@@ -6,7 +6,7 @@
$Date: 1995/01/12 08:54:52 $
created at: Thu Jun 10 14:26:32 JST 1993
- Copyright (C) 1995 Yukihiro Matsumoto
+ Copyright (C) 1993-1995 Yukihiro Matsumoto
*************************************************/
@@ -16,11 +16,14 @@
#include "config.h"
#include "defines.h"
-#ifdef __STDC__
-#else
+#ifndef __STDC__
#define volatile
+#ifdef __GNUC__
+#define const __const__
+#else
#define const
#endif
+#endif
#if defined(HAVE_ALLOCA_H) && !defined(__GNUC__)
#include <alloca.h>