We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
__MINGW_PRINTF_FORMAT
1 parent 8351378 commit 78562d3Copy full SHA for 78562d3
1 file changed
include/ruby/internal/attr/format.h
@@ -22,6 +22,10 @@
22
*/
23
#include "ruby/internal/has/attribute.h"
24
25
+#if defined(__MINGW32__)
26
+#include <stdio.h> /* for __MINGW_PRINTF_FORMAT */
27
+#endif
28
+
29
/** Wraps (or simulates) `__attribute__((format))` */
30
#if RBIMPL_HAS_ATTRIBUTE(format)
31
# define RBIMPL_ATTR_FORMAT(x, y, z) __attribute__((__format__(x, y, z)))
0 commit comments