summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-12 23:06:39 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-05-19 11:10:08 +0100
commit02683b20c0775dab28d72727cc97a96ec77cb20c (patch)
treeaf4fc1c23a5ca20b94ebdf6b0603b88fff686670 /src/win32
parentc9f116f148c9eb64988eb36ec83d1a653dc81ee0 (diff)
downloadlibgit2-02683b20c0775dab28d72727cc97a96ec77cb20c.tar.gz
regexec: prefix all regexec function calls with p_
Prefix all the calls to the the regexec family of functions with `p_`. This allows us to swap out all the regular expression functions with our own implementation. Move the declarations to `posix_regex.h` for simpler inclusion.
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/posix.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/win32/posix.h b/src/win32/posix.h
index d5ab2e8f5..e427d64c3 100644
--- a/src/win32/posix.h
+++ b/src/win32/posix.h
@@ -60,7 +60,4 @@ extern int p_lstat_posixly(const char *filename, struct stat *buf);
extern struct tm * p_localtime_r(const time_t *timer, struct tm *result);
extern struct tm * p_gmtime_r(const time_t *timer, struct tm *result);
-/* Use the bundled regcomp */
-#define p_regcomp regcomp
-
#endif