Skip to content

Commit

Permalink
Ensure that PRIi64 is defined in mingw.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Apr 5, 2016
1 parent dc4fce0 commit dbf4ead
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libqof/qof/qofbook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ extern "C"
#include <string.h>

#include <glib.h>
#ifdef GNC_PLATFORM_WINDOWS
/* Mingw disables the standard type macros for C++ without this override. */
#define __STDC_FORMAT_MACROS = 1
#endif
#include <inttypes.h>

#ifdef __cplusplus
Expand Down

0 comments on commit dbf4ead

Please sign in to comment.