inttypes.h needs __STDC_FORMAT_MACROS defined

This commit is contained in:
barracuda156 2023-08-06 13:33:21 +08:00 committed by nick black
parent 442cfea046
commit e8b4c7958a

View File

@ -35,6 +35,9 @@ extern "C" {
#include <wctype.h>
#include <pthread.h>
#include <stdbool.h>
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#include <inttypes.h>
#include <unictype.h>
#ifndef __MINGW32__