mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
require regex (http://ftp.gnu.org/pub/gnu/regex/)
This commit is contained in:
committed by
Johannes Sixt
parent
65e40a6195
commit
649a5ce8d6
2
Makefile
2
Makefile
@@ -427,7 +427,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
NO_ICONV=YesPlease
|
||||
COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS
|
||||
COMPAT_OBJS += compat/mingw.o
|
||||
EXTLIBS += -lws2_32
|
||||
EXTLIBS += -lws2_32 -lregex
|
||||
X = .exe
|
||||
endif
|
||||
ifneq (,$(findstring arm,$(uname_M)))
|
||||
|
||||
@@ -98,23 +98,6 @@ int fnmatch(const char *pattern, const char *string, int flags)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int regcomp(regex_t *preg, const char *regex, int cflags)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
size_t regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
void regfree(regex_t *preg)
|
||||
{
|
||||
}
|
||||
|
||||
int regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
#include <time.h>
|
||||
|
||||
struct tm *gmtime_r(const time_t *timep, struct tm *result)
|
||||
|
||||
Reference in New Issue
Block a user