diff options
author | Bruno Haible <bruno@clisp.org> | 2002-11-05 21:45:29 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2002-11-05 21:45:29 +0000 |
commit | f9fa25dca3c78a2298e466e1b33caca0ee7e458b (patch) | |
tree | 31624fcde2d630753c2403c77b38e9c6e7f83929 /lib/xmalloc.c | |
parent | 030b6f27fcc8fd598b3ba2e115376b697fc09c94 (diff) | |
download | gnulib-f9fa25dca3c78a2298e466e1b33caca0ee7e458b.tar.gz |
Include gettext.h instead of <libintl.h> with #ifdefs.
Diffstat (limited to 'lib/xmalloc.c')
-rw-r--r-- | lib/xmalloc.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 2f103d6049..df95ecdf6b 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -1,5 +1,5 @@ /* xmalloc.c -- malloc with out of memory checking - Copyright (C) 1990-1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1990-1999, 2000, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,14 +30,9 @@ void *realloc (); void free (); #endif -#if ENABLE_NLS -# include <libintl.h> -# define _(Text) gettext (Text) -#else -# define textdomain(Domain) -# define _(Text) Text -#endif -#define N_(Text) Text +#include "gettext.h" +#define _(msgid) gettext (msgid) +#define N_(msgid) msgid #include "error.h" #include "xalloc.h" |