mirror of
https://github.com/MariaDB/server.git
synced 2026-04-21 15:55:53 +02:00
Bug#19407 Test 'func_regexp' fails on Windows x64
regex/regexec.c: The Win64 pre-processor evaluates state1 at the end of the chain at replace-time not at definition-time. This causes states1 to be defined as char *.
This commit is contained in:
parent
3435f614c2
commit
c21f2373b0
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue