summaryrefslogtreecommitdiffstats
path: root/external/mariadb-connector-c/clang-cl.patch.0
blob: 4c9ef4def3f6bc01345a30f773d972b7b20dc59f (plain)
1
2
3
4
5
6
7
8
9
10
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