]> Dogcows Code - chaz/tar/blobdiff - lib/print-copyr.c
(libtar_a_SOURCES): Add paxerror.c paxexit.c paxconvert.c
[chaz/tar] / lib / print-copyr.c
index 6abaccf64e46a4e6866855efd123132c8df2dd72..2b6a13ecf7cae77998e2114162c142de5acbdee3 100644 (file)
 # include <config.h>
 #endif
 
-#include "unicodeio.h"
 #include "print-copyr.h"
-
 #include <stdio.h>
 
+#if ENABLE_NLS
+# include "unicodeio.h"
+#else
+# define unicode_to_mb(code, callback, error_callback, callback_arg) \
+    error_callback (code, callback_arg)
+#endif
+
 #define COPYRIGHT_SIGN 0x00A9
 
 /* Print "(C)".  */
@@ -45,7 +50,7 @@ void
 print_copyright (char const *notice)
 {
   fputs ("Copyright ", stdout);
-  unicode_to_mb (COPYRIGHT_SIGN, print_unicode_success, print_parenthesized_c,
+  unicode_to_mb (COPYRIGHT_SIGN, print_unicode_char, print_parenthesized_c,
                 stdout);
   fputc (' ', stdout);
   puts (notice);
This page took 0.0252520000000001 seconds and 4 git commands to generate.