diff options
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 |