(trunk, libT) #5476: also, define __USE_MINGW_ANSI_STDIO and __STDC_FORMAT_MACROS on win32 systems so these new macros will work on mingw-w64 and mingw. (rb07)

This commit is contained in:
Jordan Lee 2013-08-26 17:15:12 +00:00
parent 9fe48d7a08
commit 4aa5c5c08d
1 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,11 @@ extern "C" {
#include <inttypes.h> /* uintN_t */
#include <time.h> /* time_t */
#ifdef WIN32
#define __USE_MINGW_ANSI_STDIO 1
#define __STDC_FORMAT_MACROS 1
#endif
#if !defined (__cplusplus)
#ifdef HAVE_STDBOOL_H
#include <stdbool.h>