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:
parent
8c68d9a152
commit
bef85feb24
1 changed files with 2 additions and 2 deletions
4
main.c
4
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue