changeset 2201:8e39301eac59

[xemacs-hg @ 2004-08-04 19:45:16 by james] Fix previous "fix".
author james
date Wed, 04 Aug 2004 19:45:17 +0000
parents 35540b6052a9
children bf2691530b8e
files src/ChangeLog src/regex.c
diffstat 2 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Aug 03 22:08:48 2004 +0000
+++ b/src/ChangeLog	Wed Aug 04 19:45:17 2004 +0000
@@ -1,3 +1,7 @@
+2004-08-04  Jerry James  <james@xemacs.org>
+
+	* regex.c: Fix the previous patch by moving to the right place.
+
 2004-08-03  Jerry James  <james@xemacs.org>
 
 	* regex.c: Move #define gettext after #include "lisp.h" to avoid
--- a/src/regex.c	Tue Aug 03 22:08:48 2004 +0000
+++ b/src/regex.c	Wed Aug 04 19:45:17 2004 +0000
@@ -118,13 +118,6 @@
 
 #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
@@ -174,6 +167,13 @@
 
 #endif /* emacs */
 
+/* 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
+
 /* Under XEmacs, this is needed because we don't define it elsewhere. */
 #ifdef SWITCH_ENUM_BUG
 #define SWITCH_ENUM_CAST(x) ((int)(x))