mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
OSX likes to put unordered_map in the weirdest of places...
This commit is contained in:
parent
fa45403557
commit
afb5be10d9
@ -28,8 +28,13 @@
|
||||
#include "LinearDiskCache.h"
|
||||
#include "ConfigManager.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <tr1/unordered_map>
|
||||
using namespace std::tr1;
|
||||
#else
|
||||
#include <unordered_map>
|
||||
|
||||
using namespace std;
|
||||
#endif
|
||||
namespace OGL
|
||||
{
|
||||
|
||||
@ -153,7 +158,7 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::unordered_map<u64, PCacheEntry> PCache;
|
||||
typedef unordered_map<u64, PCacheEntry> PCache;
|
||||
|
||||
static PCache pshaders;
|
||||
static GLuint CurrentProgram;
|
||||
|
Loading…
x
Reference in New Issue
Block a user