From 54409423f767d8b1cf30cb7d0efca6b4ca138823 Mon Sep 17 00:00:00 2001 From: Ethan Morgan Date: Sat, 14 Feb 2026 16:44:06 +0000 Subject: move to own git server --- vcpkg/ports/libxpm/strcasecmp.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 vcpkg/ports/libxpm/strcasecmp.patch (limited to 'vcpkg/ports/libxpm/strcasecmp.patch') diff --git a/vcpkg/ports/libxpm/strcasecmp.patch b/vcpkg/ports/libxpm/strcasecmp.patch new file mode 100644 index 0000000..cab1684 --- /dev/null +++ b/vcpkg/ports/libxpm/strcasecmp.patch @@ -0,0 +1,15 @@ +diff --git a/include/X11/xpm.h b/include/X11/xpm.h +index f108f1f6e..143b6657d 100644 +--- a/include/X11/xpm.h ++++ b/include/X11/xpm.h +@@ -69,6 +69,10 @@ + # include + # include "simx.h" /* defines some X stuff using MSW types */ + #define NEED_STRCASECMP /* at least for MSVC++ */ ++#elif _MSC_VER ++#define strcasecmp _stricmp ++# include ++# include + #else /* FOR_MSW */ + # ifdef AMIGA + # include "amigax.h" -- cgit v1.2.3