From c3a66e8a72e7ba6cc25c09d0abacbefcd06f51f7 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 10 Dec 2001 07:24:00 +0000 Subject: auxiliary routines update. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index d1f48959f..31a147fcc 100644 --- a/ruby.h +++ b/ruby.h @@ -35,6 +35,7 @@ extern "C" { #include /* need to include 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 -- cgit