]> code.delx.au - gnu-emacs/blobdiff - lib/inttypes.in.h
Merge emacs-25 into master (using imerge)
[gnu-emacs] / lib / inttypes.in.h
index 13a72bee90c9623f28a03f6228108690d8e6ed0e..78846f696839df88118cf05ac559c262496a83d4 100644 (file)
 #endif
 /* Get CHAR_BIT.  */
 #include <limits.h>
+/* On mingw, __USE_MINGW_ANSI_STDIO only works if <stdio.h> is also included */
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+# include <stdio.h>
+#endif
 
 #if !(INT_MIN == INT32_MIN && INT_MAX == INT32_MAX)
 # error "This file assumes that 'int' has exactly 32 bits. Please report your platform and compiler to <bug-gnulib@gnu.org>."