1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-1559 remove the #define POSIX_REGEX and thus the use of regexec. Fix up the code changing #ifdef _MSC_VER to #ifdef POSIX_REGEX, where it applies to regexec.

This commit is contained in:
David Hall
2019-07-24 12:59:59 -05:00
parent 41b7560b65
commit 78eb20ef4e
6 changed files with 27 additions and 30 deletions

View File

@ -33,9 +33,9 @@
#include <unordered_set>
#endif
#ifdef __linux__
#define POSIX_REGEX
#endif
//#ifdef __linux__
//#define POSIX_REGEX
//#endif
#ifdef POSIX_REGEX
#include <regex.h>