Mercurial > hg > xemacs-beta
diff src/regex.c @ 2200:35540b6052a9
[xemacs-hg @ 2004-08-03 22:08:46 by james]
Move the definition of gettext after #include "lisp.h".
author | james |
---|---|
date | Tue, 03 Aug 2004 22:08:48 +0000 |
parents | a8d8f419b459 |
children | 8e39301eac59 |
line wrap: on
line diff
--- a/src/regex.c Tue Aug 03 21:50:30 2004 +0000 +++ b/src/regex.c Tue Aug 03 22:08:48 2004 +0000 @@ -45,13 +45,6 @@ #include <sys/types.h> #include <stddef.h> /* needed for ptrdiff_t under Solaris */ -/* This is for other GNU distributions with internationalized messages. */ -#if defined (I18N3) && (defined (HAVE_LIBINTL_H) || defined (_LIBC)) -# include <libintl.h> -#else -# define gettext(msgid) (msgid) -#endif - /* XEmacs addition */ #ifdef REL_ALLOC #define REGEX_REL_ALLOC /* may be undefined below */ @@ -125,6 +118,13 @@ #include <string.h> +/* This is for other GNU distributions with internationalized messages. */ +#if defined (I18N3) && (defined (HAVE_LIBINTL_H) || defined (_LIBC)) +# include <libintl.h> +#else +# define gettext(msgid) (msgid) +#endif + /* Define the syntax stuff for \<, \>, etc. */ /* This must be nonzero for the wordchar and notwordchar pattern