mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-28 16:11:38 +00: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 "LinearDiskCache.h"
|
||||||
#include "ConfigManager.h"
|
#include "ConfigManager.h"
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <tr1/unordered_map>
|
||||||
|
using namespace std::tr1;
|
||||||
|
#else
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
using namespace std;
|
||||||
|
#endif
|
||||||
namespace OGL
|
namespace OGL
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -153,7 +158,7 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::unordered_map<u64, PCacheEntry> PCache;
|
typedef unordered_map<u64, PCacheEntry> PCache;
|
||||||
|
|
||||||
static PCache pshaders;
|
static PCache pshaders;
|
||||||
static GLuint CurrentProgram;
|
static GLuint CurrentProgram;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user