diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-10 07:24:00 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-10 07:24:00 +0000 |
commit | c79368b6a3fa2305592392aed806739b1db79dec (patch) | |
tree | ecec54d538c9d3907f0c23e9623ce83cc92aaee0 /ruby.h | |
parent | 2f8d3bdc21b37f0d6881b817c8fd9c5b4b351cd4 (diff) | |
download | ruby-c79368b6a3fa2305592392aed806739b1db79dec.tar.gz |
auxiliary routines update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,7 @@ extern "C" { #include <stdio.h> /* need to include <ctype.h> to use these macros */ +#ifndef ISPRINT #define ISASCII(c) isascii((unsigned char)(c)) #undef ISPRINT #define ISPRINT(c) (ISASCII(c) && isprint((unsigned char)(c))) @@ -45,6 +46,7 @@ extern "C" { #define ISALPHA(c) (ISASCII(c) && isalpha((unsigned char)(c))) #define ISDIGIT(c) (ISASCII(c) && isdigit((unsigned char)(c))) #define ISXDIGIT(c) (ISASCII(c) && isxdigit((unsigned char)(c))) +#endif #if !defined(__STDC__) && !defined(_MSC_VER) # define volatile |