[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/src/dfa.c
From: |
Stepan Kasal |
Subject: |
Changes to grep/src/dfa.c |
Date: |
Mon, 22 Nov 2004 08:37:18 -0500 |
Index: grep/src/dfa.c
diff -u grep/src/dfa.c:1.26 grep/src/dfa.c:1.27
--- grep/src/dfa.c:1.26 Fri Nov 19 16:48:15 2004
+++ grep/src/dfa.c Mon Nov 22 13:40:56 2004
@@ -48,13 +48,6 @@
# include <locale.h>
#endif
-#include "mbsupport.h" /* defined MBS_SUPPORT if appropriate */
-
-#ifdef MBS_SUPPORT
-# include <wchar.h>
-# include <wctype.h>
-#endif
-
#ifndef DEBUG /* use the same approach as regex.c */
#undef assert
@@ -118,6 +111,13 @@
# define _(Str) (Str)
#endif
+#include "mbsupport.h" /* defines MBS_SUPPORT if appropriate */
+#ifdef MBS_SUPPORT
+/* We can handle multibyte strings. */
+# include <wchar.h>
+# include <wctype.h>
+#endif
+
#include "regex.h"
#include "dfa.h"
#include "hard-locale.h"