temporal VC patch from nkshigeru

This commit is contained in:
Yukihiro Matsumoto
2012-05-09 22:23:39 +09:00
parent 6faab394d7
commit bcd24af19c
3 changed files with 9 additions and 0 deletions
+4
View File
@@ -1348,7 +1348,11 @@ set_default_internal(mrb_state *mrb, mrb_value klass)
}
#define digit(x) ((x) >= '0' && (x) <= '9')
#ifndef _MSC_VER
#define strstart(s, n) (strncasecmp(s, n, strlen(n)) == 0)
#else
#define strstart(s, n) (_stricmp(s, n) == 0)
#endif
#define C_CODESET "US-ASCII" /* Return this as the encoding of the
* C/POSIX locale. Could as well one day
* become "UTF-8". */