all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* No Gettext on Some Platforms
@ 2002-12-06 17:45 Andrew Choi
  2002-12-07  3:17 ` Ben Key
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Choi @ 2002-12-06 17:45 UTC (permalink / raw)


A recent change to lib-src/getopt.c causes link failure on platforms
without gettext installed.  Please consider the following fix.

Index: getopt.c
===================================================================
RCS file: /cvsroot/emacs/emacs/lib-src/getopt.c,v
retrieving revision 1.21
diff -u -r1.21 getopt.c
--- getopt.c    5 Dec 2002 15:30:09 -0000       1.21
+++ getopt.c    6 Dec 2002 17:32:51 -0000
@@ -83,7 +83,11 @@
 # include "gettext.h"
 #endif
 #endif
+#ifdef HAVE_LIBINTL_H
 #define _(msgid) gettext (msgid)
+#else
+#define _(msgid) (msgid)
+#endif
 
 #if defined _LIBC && defined USE_IN_LIBIO
 # include <wchar.h>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-07  3:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-06 17:45 No Gettext on Some Platforms Andrew Choi
2002-12-07  3:17 ` Ben Key
2002-12-07  3:29   ` Miles Bader

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.