diff options
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |