From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- external/mariadb-connector-c/clang-cl.patch.0 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 external/mariadb-connector-c/clang-cl.patch.0 (limited to 'external/mariadb-connector-c/clang-cl.patch.0') 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 + #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 -- cgit v1.2.3