From e599bba4216c0edb8cc8f40adad3a6dba88685f4 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 19 Sep 2009 09:47:30 +0300 Subject: Various changes. Separate a few reusable components from XZ Utils specific code. The reusable code is now in "tuklib" modules. A few more could be separated still, e.g. bswap.h. Fix some bugs in lzmainfo. Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol for help. Add OpenVMS support into physmem. Add a few #ifdefs to ease building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the original patch. --- src/xz/private.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/xz/private.h') diff --git a/src/xz/private.h b/src/xz/private.h index 6141b88c..8d9ce978 100644 --- a/src/xz/private.h +++ b/src/xz/private.h @@ -22,14 +22,9 @@ #include #include -#ifdef ENABLE_NLS -# include -# define _(msgid) gettext(msgid) -# define N_(msgid1, msgid2, n) ngettext(msgid1, msgid2, n) -#else -# define _(msgid) (msgid) -# define N_(msgid1, msgid2, n) ((n) == 1 ? (msgid1) : (msgid2)) -#endif +#include "tuklib_gettext.h" +#include "tuklib_progname.h" +#include "tuklib_exit.h" #ifndef STDIN_FILENO # define STDIN_FILENO (fileno(stdin)) -- cgit v1.2.3