summaryrefslogtreecommitdiff
blob: 0b600132560b048429e5d79db496fdc318476ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/LYMain.c.orig	2009-10-04 22:18:14.000000000 -0700
+++ src/LYMain.c	2009-10-04 22:29:54.000000000 -0700
@@ -57,7 +57,7 @@
 #include <io.h>
 #endif
 
-#if defined(LOCALE) && !defined(HAVE_LIBINTL_H)
+#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
 #undef gettext			/* Solaris locale.h prototypes gettext() */
 #include <locale.h>
 #ifndef HAVE_GETTEXT