From 7c5f40d5cc0ed9011eb5c6b7ad1b0606f887db29 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 23 May 2011 15:47:07 -0400 Subject: [PATCH] ServerShutdownModule_GETTEXT() was failing on non-locale-aware systems, fixed --- webcit/gettext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webcit/gettext.c b/webcit/gettext.c index 120f4bcfd..b05bb9bff 100644 --- a/webcit/gettext.c +++ b/webcit/gettext.c @@ -483,13 +483,13 @@ void ServerShutdownModule_GETTEXT (void) { -#ifdef HAVE_USELOCALE +#ifdef ENABLE_NLS int i; for (i = 0; i < nLocalesLoaded; ++i) { if (Empty_Locale != wc_locales[i]) freelocale(wc_locales[i]); } free(wc_locales); -#endif if (!AvailLangLoaded) free(AvailLangLoaded); +#endif } -- 2.39.2