summaryrefslogtreecommitdiffstats
path: root/external/mariadb-connector-c/clang-cl.patch.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--external/mariadb-connector-c/clang-cl.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/mariadb-connector-c/clang-cl.patch.0 b/external/mariadb-connector-c/clang-cl.patch.0
new file mode 100644
index 000000000..4c9ef4def
--- /dev/null
+++ b/external/mariadb-connector-c/clang-cl.patch.0
@@ -0,0 +1,11 @@
+--- unittest/libmariadb/getopt.c
++++ unittest/libmariadb/getopt.c
+@@ -38,7 +38,7 @@
+ #include <config.h>
+ #endif
+
+-#if (!defined (__STDC__) || !__STDC__) && !defined(MSDOS) && !defined(OS2)
++#if (!defined (__STDC__) || !__STDC__) && !defined(MSDOS) && !defined(OS2) && !(defined _MSC_VER && defined __clang__)
+ /* This is a separate conditional since some stdc systems
+ reject `defined (const)'. */
+ #ifndef const