summaryrefslogtreecommitdiff
path: root/external/gpgmepp/strcasecmp.patch
blob: 4dc382a07b03c103f7dd96b92b832d35efbaf6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/key.c	2024-11-08 20:45:01.826019597 +0100
+++ src/key.c	2024-11-08 20:46:15.369716357 +0100
@@ -19,6 +19,10 @@
  * SPDX-License-Identifier: LGPL-2.1-or-later
  */
 
+#ifdef _MSC_VER
+#  define strcasecmp _stricmp
+#endif
+
 #if HAVE_CONFIG_H
 #include <config.h>
 #endif