summaryrefslogtreecommitdiff
path: root/lib/human.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-11-05 21:45:29 +0000
committerBruno Haible <bruno@clisp.org>2002-11-05 21:45:29 +0000
commitf9fa25dca3c78a2298e466e1b33caca0ee7e458b (patch)
tree31624fcde2d630753c2403c77b38e9c6e7f83929 /lib/human.c
parent030b6f27fcc8fd598b3ba2e115376b697fc09c94 (diff)
downloadgnulib-f9fa25dca3c78a2298e466e1b33caca0ee7e458b.tar.gz
Include gettext.h instead of <libintl.h> with #ifdefs.
Diffstat (limited to 'lib/human.c')
-rw-r--r--lib/human.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/human.c b/lib/human.c
index a9ccf38c48..2367137e00 100644
--- a/lib/human.c
+++ b/lib/human.c
@@ -1,6 +1,6 @@
/* human.c -- print human readable file size
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -52,12 +52,8 @@
char *getenv ();
#endif
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
#include <argmatch.h>
#include <error.h>