util.c

changeset 85
9f94b2e96e3b
parent 79
81e9a32b1c0c
child 109
96a557abc364
--- a/util.c	Sat Oct 09 17:42:46 2004 +0200
+++ b/util.c	Mon Jan 17 22:02:09 2005 +0100
@@ -12,10 +12,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#ifdef CONFIG_LOCALE
-#include <libintl.h>
-#endif
-
+#include "locale.h"
 #include "util.h"
 #include "misc.h"
 
@@ -26,8 +23,8 @@
 void libtu_init(const char *argv0)
 {
     progname=argv0;
-    
-#ifdef CONFIG_LOCALE
+
+#ifndef CF_NO_LOCALE
     textdomain(simple_basename(argv0));
 #endif
 }

mercurial