From 13a1fd6d825de395249c1aa12681b1de37ee3001 Mon Sep 17 00:00:00 2001 From: glass Date: Tue, 16 Jul 2013 12:49:01 +0000 Subject: * 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 --- include/ruby/ruby.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/ruby/ruby.h') 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))) -- cgit v1.2.3