1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-21 04:17:17 +00:00
parent 8c68d9a152
commit bef85feb24

4
main.c
View file

@ -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