Mercurial > hg > octave-nkf > gnulib-hg
changeset 5562:2479d10c3961
[!_LIBC && !ENABLE_NLS]: Do not include "gettext.h";
not needed. This removes a dependency on the gettext module.
[defined _LIBC]: Do not include <libintl.h>; not needed.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 29 Dec 2004 05:49:08 +0000 |
parents | 499478fd9cdb |
children | c41acce9d024 |
files | lib/error.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/error.c +++ b/lib/error.c @@ -1,5 +1,5 @@ /* Error handler for noninteractive utilities - Copyright (C) 1990-1998, 2000-2002, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 1990-1998, 2000-2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -29,9 +29,7 @@ #include <stdlib.h> #include <string.h> -#ifdef _LIBC -# include <libintl.h> -#else +#if !_LIBC && ENABLE_NLS # include "gettext.h" #endif