summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 04:17:17 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 04:17:17 +0000
commit91c16f807bcd060cc41d7bf8215a00ec62bc17a0 (patch)
treeaa2569da709a497b8f70875023685bc25640beb8 /main.c
parent3d8aa0139e4e26bee03889cc93debd8432e5d27b (diff)
downloadruby-91c16f807bcd060cc41d7bf8215a00ec62bc17a0.tar.gz
ruby-91c16f807bcd060cc41d7bf8215a00ec62bc17a0.tar.xz
ruby-91c16f807bcd060cc41d7bf8215a00ec62bc17a0.zip
fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index d1f275aa9..e438b9c7b 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 <locale.h>
#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