Add #define __STDC_FORMAT_MACROS

This define is needed in order for the SCNx32/SCNu32 in find_tag() to be
compiled correctly on older `glibc`s.
This commit is contained in:
Misa
2020-06-17 15:49:40 -07:00
committed by Ethan Lee
parent 5e43a44d9a
commit 3428d962b3

View File

@@ -20,6 +20,9 @@
#include <utf8/unchecked.h>
#include <physfs.h>
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#include <inttypes.h>
#include <cstdio>