This commit is contained in:
Johannes Schindelin
2006-09-20 12:34:51 +02:00
committed by Johannes Sixt
parent 65e40a6195
commit 649a5ce8d6
2 changed files with 1 additions and 18 deletions

View File

@@ -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)))

View File

@@ -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)