Refactor utility/decomp headers (#318)

This commit is contained in:
Christian Semmler
2023-12-11 16:33:46 -05:00
committed by GitHub
parent 3b30607337
commit a7194266b3
21 changed files with 42 additions and 32 deletions

18
LEGO1/mxstl/stlcompat.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef STLCOMPAT_H
#define STLCOMPAT_H
#include "compat.h"
#if defined(_MSC_VER) && _MSC_VER <= MSVC420_VERSION
// Disable "nonstandard extension used : 'bool'" warning spam
#pragma warning(disable : 4237)
#include "mxstl.h"
#else
#include <algorithm>
#include <list>
#include <set>
using std::list;
using std::set;
#endif
#endif // STLCOMPAT_H