summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-01-22 12:53:10 +0000
committerBruno Haible <bruno@clisp.org>2001-01-22 12:53:10 +0000
commitcc5960a0ef886784891b4c1a7316c1659b73a7b6 (patch)
tree01eb863630f5faa4d1af3dcafd97a353d23021ee /tests
parent2769926e6e7cac7d7020bd38be90ff2fd4cbb602 (diff)
downloadexternal_gettext-cc5960a0ef886784891b4c1a7316c1659b73a7b6.zip
external_gettext-cc5960a0ef886784891b4c1a7316c1659b73a7b6.tar.gz
external_gettext-cc5960a0ef886784891b4c1a7316c1659b73a7b6.tar.bz2
Rename intlh.inst.in to libgnuintl.h.
libgettext.h is now merely a convenience header, not used inside libintl.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/plural-1-prg.c10
2 files changed, 5 insertions, 9 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 9740a3a..4f24852 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,5 +1,9 @@
2001-01-07 Bruno Haible <haible@clisp.cons.org>
+ * plural-1-prg.c: Include libgnuintl.h instead of libgettext.h.
+
+2001-01-07 Bruno Haible <haible@clisp.cons.org>
+
* plural-1-prg.c: Assume <locale.h> exists.
2001-01-06 Bruno Haible <haible@clisp.cons.org>
diff --git a/tests/plural-1-prg.c b/tests/plural-1-prg.c
index 033eaa9..37beec6 100644
--- a/tests/plural-1-prg.c
+++ b/tests/plural-1-prg.c
@@ -9,18 +9,10 @@
#include <locale.h>
/* Make sure we use the included libintl, not the system's one. */
-#if 0
-#include <libintl.h>
-#else
-#define ENABLE_NLS 1
-#include "libgettext.h"
-#undef textdomain
#define textdomain textdomain__
-#undef bindtextdomain
#define bindtextdomain bindtextdomain__
-#undef ngettext
#define ngettext ngettext__
-#endif
+#include <libgnuintl.h>
int main (argc, argv)
int argc;