Commit f8df722e authored by h2so5's avatar h2so5

Replace isupper with a macro in msvc

parent e4c9af6e
......@@ -42,6 +42,10 @@ static void backref_error(parser_state *p, node *n);
#define isascii(c) (((c) & ~0x7f) == 0)
#endif
#ifdef _MSC_VER
#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
#endif
#define identchar(c) (isalnum(c) || (c) == '_' || !isascii(c))
typedef unsigned int stack_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment