diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-16 12:49:01 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-16 12:49:01 +0000 |
commit | 13a1fd6d825de395249c1aa12681b1de37ee3001 (patch) | |
tree | 460527af7642b673c05363fa8a674cc3659f8d17 /include | |
parent | a0d9bd444530984a0a10fe6ca73cf9467ba843d2 (diff) |
* configure.in: revert r42008. strcasecmp() uses the current locale.
* include/ruby/ruby.h: ditto.
* st.c (st_strcasecmp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index df89b387dd..2fd5981a67 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1808,11 +1808,7 @@ int rb_toupper(int c); #define TOUPPER(c) rb_toupper((unsigned char)(c)) #define TOLOWER(c) rb_tolower((unsigned char)(c)) -#ifdef HAVE_STRCASECMP -#define st_strcasecmp strcasecmp -#else int st_strcasecmp(const char *s1, const char *s2); -#endif int st_strncasecmp(const char *s1, const char *s2, size_t n); #define STRCASECMP(s1, s2) (st_strcasecmp((s1), (s2))) #define STRNCASECMP(s1, s2, n) (st_strncasecmp((s1), (s2), (n))) |