summaryrefslogtreecommitdiff
path: root/databases/mysql56-client/patches/patch-storage_innobase_include_univ.i
blob: 3f8fa8c489d06ee26a69610a245eb3402bcaa6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-storage_innobase_include_univ.i,v 1.1 2019/09/06 10:01:44 taca Exp $

* Stop another useless warnings.

--- storage/innobase/include/univ.i.orig	2019-06-10 10:25:32.000000000 +0000
+++ storage/innobase/include/univ.i
@@ -123,7 +123,9 @@ Sun Studio */
 #endif /* #if (defined(WIN32) || ... */
 
 #ifndef __WIN__
+#ifndef __STDC_FORMAT_MACROS
 #define __STDC_FORMAT_MACROS    /* Enable C99 printf format macros */
+#endif
 #include <inttypes.h>
 #endif /* !__WIN__ */