From bef85feb24107599fb207153f4ad1c34faf7b8ec Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 21 Dec 2007 04:17:17 +0000 Subject: fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index d1f275aa99..e438b9c7b8 100644 --- a/main.c +++ b/main.c @@ -12,7 +12,7 @@ #undef RUBY_EXPORT #include "ruby/ruby.h" -#ifdef LOCALE_H +#ifdef HAVE_LOCALE_H #include #endif @@ -25,7 +25,7 @@ main(int argc, char **argv, char **envp) extern void ruby_set_debug_option(const char *); ruby_set_debug_option(getenv("RUBY_DEBUG")); #endif -#ifdef LOCALE_H +#ifdef HAVE_LOCALE_H setlocale(LC_CTYPE, ""); #endif -- cgit v1.2.3