mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user