mirror of
https://github.com/transmission/transmission
synced 2025-02-22 14:10:34 +00:00
(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:
parent
9fe48d7a08
commit
4aa5c5c08d
1 changed files with 5 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue