summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authoriggy@mysql.com <>2006-06-19 22:19:05 -0400
committeriggy@mysql.com <>2006-06-19 22:19:05 -0400
commit7d9a179c16636bdd767c6bc5dffe71346b32006b (patch)
treebd2064ecc400ae3a906e2302b27ad0be54559ab9 /regex
parente42087337040b11c899501bd7d2bd3c6ad710d9f (diff)
downloadmariadb-git-7d9a179c16636bdd767c6bc5dffe71346b32006b.tar.gz
Bug#19407 Test 'func_regexp' fails on Windows x64
Diffstat (limited to 'regex')
-rw-r--r--regex/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex/regexec.c b/regex/regexec.c
index b7ad83ba883..88bcc02323d 100644
--- a/regex/regexec.c
+++ b/regex/regexec.c
@@ -19,7 +19,7 @@ static int nope = 0; /* for use in asserts; shuts lint up */
/* macros for manipulating states, small version */
#define states long
-#define states1 states /* for later use in regexec() decision */
+#define states1 long /* for later use in regexec() decision. Ensure Win64 definition is correct.*/
#define CLEAR(v) ((v) = 0)
#define SET0(v, n) ((v) &= ~((states) 1 << (n)))
#define SET1(v, n) ((v) |= (states) 1 << (n))