summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-25 15:09:05 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-25 15:09:05 +0000
commit49c69543516cc5d3a8885fdc3f5ca3af08b9becd (patch)
treee70d72106be91f13d1ba5ad8e7d0dddf20762984 /ruby.h
parentec7a338ade8a39f3099f0d78baae52be45cb1b62 (diff)
* stable version 1.6.6 released.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby.h b/ruby.h
index d41e98c652..2998636064 100644
--- a/ruby.h
+++ b/ruby.h
@@ -35,6 +35,7 @@ extern "C" {
#include <stdio.h>
/* need to include <ctype.h> to use these macros */
+#ifndef ISUPPER
#undef ISPRINT
#define ISPRINT(c) isprint((unsigned char)(c))
#define ISSPACE(c) isspace((unsigned char)(c))
@@ -44,6 +45,7 @@ extern "C" {
#define ISALPHA(c) isalpha((unsigned char)(c))
#define ISDIGIT(c) isdigit((unsigned char)(c))
#define ISXDIGIT(c) isxdigit((unsigned char)(c))
+#endif
#ifndef __STDC__
# define volatile