mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Do include libintl.h if HAVE_LIBINTL_H.
(_): Test only HAVE_LIBINTL_H to decide what to do.
This commit is contained in:
parent
df4d1023fc
commit
eca79530b7
1 changed files with 7 additions and 3 deletions
|
|
@ -75,6 +75,10 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if HAVE_LIBINTL_H
|
||||
# include <libintl.h>
|
||||
#endif /* HAVE_LIBINTL_H */
|
||||
|
||||
#if 0
|
||||
# ifdef _LIBC
|
||||
# include <libintl.h>
|
||||
|
|
@ -84,12 +88,12 @@
|
|||
# endif /* end #ifdef _LIBC */
|
||||
#endif /* end #if 0 */
|
||||
|
||||
#if HAVE_LIBINTL_H || defined _LIBC
|
||||
#if HAVE_LIBINTL_H
|
||||
/* Should I include libintl.h here as in regex.c ? */
|
||||
# define _(msgid) gettext (msgid)
|
||||
#else /* not #if HAVE_LIBINTL_H || defined _LIBC */
|
||||
#else /* not #if HAVE_LIBINTL_H */
|
||||
# define _(msgid) (msgid)
|
||||
#endif /* end #if HAVE_LIBINTL_H || defined _LIBC */
|
||||
#endif /* end #if HAVE_LIBINTL_H */
|
||||
|
||||
#if defined _LIBC && defined USE_IN_LIBIO
|
||||
# include <wchar.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue