Skip to content

Commit

Permalink
fix typo.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Dec 21, 2007
1 parent 8c68d9a commit bef85fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#undef RUBY_EXPORT
#include "ruby/ruby.h"
#ifdef LOCALE_H
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif

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

Expand Down

0 comments on commit bef85fe

Please sign in to comment.