Fix Windows build by using lib/strcasestr.{c,h}
PATCH 1/1 Fix Windows build by using lib/strcasestr.{c,h}
--- Makefile | 1 + os/os-windows.h | 1 + 2 files changed, 2 insertions(+)
Makefile +1 -0
@@ -237,6 +237,7 @@ ifneq (,$(findstring CYGWIN,$(CONFIG_TARGET_OS))) T_DEDUPE_OBJS += os/windows/posix.o lib/hweight.o T_SMALLOC_OBJS += os/windows/posix.o lib/hweight.o T_LFSR_TEST_OBJS += os/windows/posix.o lib/hweight.o + T_ZIPF_OBJS += lib/strcasestr.o endif T_TEST_PROGS = $(T_SMALLOC_PROGS)
os/os-windows.h +1 -0
@@ -16,6 +16,7 @@#include "../file.h" #include "../log.h" #include "../lib/hweight.h" +#include "../lib/strcasestr.h" #include "windows/posix.h"
Signature · 1 line
2.5.2.windows.2
Quoted 4 lines · Bruce Cran
--- Makefile | 1 + os/os-windows.h | 1 + 2 files changed, 2 insertions(+)
My bad, thanks Bruce!
Signature · 1 line
Jens Axboe