mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-11 03:19:46 +01: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:
parent
3428d962b3
commit
0ee5c07f4a
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@
|
||||||
#ifndef __STDC_FORMAT_MACROS
|
#ifndef __STDC_FORMAT_MACROS
|
||||||
#define __STDC_FORMAT_MACROS
|
#define __STDC_FORMAT_MACROS
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef _POSIX_SOURCE
|
||||||
|
#define _POSIX_SOURCE
|
||||||
|
#endif
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue