mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00:00
Fixed the build error in getopt.c that occured on systems lacking a gettext implementation. Thanks go to Andrew Choi [akochoi@shaw.ca] for this one.
This commit is contained in:
parent
730a652d2f
commit
4fbd67668e
@ -78,12 +78,18 @@
|
|||||||
#if 0
|
#if 0
|
||||||
# ifdef _LIBC
|
# ifdef _LIBC
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
#else
|
# else /* not #ifdef _LIBC */
|
||||||
/* This is for other GNU distributions with internationalized messages. */
|
/* This is for other GNU distributions with internationalized messages. */
|
||||||
# include "gettext.h"
|
# include "gettext.h"
|
||||||
#endif
|
# endif /* end #ifdef _LIBC */
|
||||||
#endif
|
#endif /* end #if 0 */
|
||||||
|
|
||||||
|
#if HAVE_LIBINTL_H || defined _LIBC
|
||||||
|
/* Should I include libintl.h here as in regex.c ? */
|
||||||
# define _(msgid) gettext (msgid)
|
# define _(msgid) gettext (msgid)
|
||||||
|
#else /* not #if HAVE_LIBINTL_H || defined _LIBC */
|
||||||
|
# define _(msgid) (msgid)
|
||||||
|
#endif /* end #if HAVE_LIBINTL_H || defined _LIBC */
|
||||||
|
|
||||||
#if defined _LIBC && defined USE_IN_LIBIO
|
#if defined _LIBC && defined USE_IN_LIBIO
|
||||||
# include <wchar.h>
|
# include <wchar.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user