summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-12 22:55:31 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-05-19 11:12:13 +0100
commit9ceafb57b2c91732cf7fc0a2be02808f871d5a8b (patch)
tree4a16e6f337b3cad2e882c04425907572628e8321 /src/win32
parentd3a440ca19b060ed69fcb7bb08d2d0fad9a4559d (diff)
downloadlibgit2-9ceafb57b2c91732cf7fc0a2be02808f871d5a8b.tar.gz
regexec: use pcre as our fallback/builtin regex
Use PCRE 8.42 as the builtin regex implementation, using its POSIX compatibility layer. PCRE uses ASCII by default and the users locale will not influence its behavior, so its `regcomp` implementation is similar to `regcomp_l` with a C locale.
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/precompiled.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/win32/precompiled.h b/src/win32/precompiled.h
index 851a083d5..314383d31 100644
--- a/src/win32/precompiled.h
+++ b/src/win32/precompiled.h
@@ -13,8 +13,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <regex.h>
-
#include <io.h>
#include <direct.h>
#ifdef GIT_THREADS