1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Add #define _POSIX_SOURCE

This is needed for MinGW when compiling C++98, apparently. I put it in
an if-guard because otherwise there'll be a warning from MY compiler
about redefinitions.
This commit is contained in:
Misa 2020-06-17 16:06:15 -07:00 committed by Ethan Lee
parent 3428d962b3
commit 0ee5c07f4a

View File

@ -23,6 +23,9 @@
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#include <inttypes.h>
#include <cstdio>