wip
This commit is contained in:
parent
99b90125d7
commit
7f797ecf12
@ -7,6 +7,8 @@
|
|||||||
// This is needed because libstdc++ itself uses this API - its not
|
// This is needed because libstdc++ itself uses this API - its not
|
||||||
// just an issue of your code using it, ughhh
|
// just an issue of your code using it, ughhh
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Werror"
|
||||||
// Note: only necessary on Linux
|
// Note: only necessary on Linux
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#define _ENABLE_GLIBC_WORKAROUND
|
#define _ENABLE_GLIBC_WORKAROUND
|
||||||
@ -14,6 +16,7 @@
|
|||||||
#else
|
#else
|
||||||
#warning not building with workaround
|
#warning not building with workaround
|
||||||
#endif
|
#endif
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
#ifdef _ENABLE_GLIBC_WORKAROUND
|
#ifdef _ENABLE_GLIBC_WORKAROUND
|
||||||
namespace std
|
namespace std
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user