From c1946454644d9300609bb62499fecd8a7b0131e2 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 8 Nov 2016 22:27:45 +0100 Subject: [PATCH] Define strcasestr for Windows The MinGW compiler apparently does not have this function. --- UCI2WB.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/UCI2WB.c b/UCI2WB.c index 2370615..9e34c7c 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -51,6 +51,8 @@ FILE *toE, *fromE, *fromF; int pid; #ifdef WIN32 +char *strcasestr (char *p, char *q) { char *r = p; while(*r) *r = tolower(*r), r++; return strstr(p, q); } + WinPipe(HANDLE *hRd, HANDLE *hWr) { SECURITY_ATTRIBUTES saAttr; -- 1.7.0.4