summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 04:17:17 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 04:17:17 (GMT)
commitbef85feb24107599fb207153f4ad1c34faf7b8ec (patch)
treeaa2569da709a497b8f70875023685bc25640beb8 /main.c
parent8c68d9a15286e6bc0e76e1da1de433a4962b1cba (diff)
fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 d1f275a..e438b9c 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