diff --git a/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.h b/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.h index acde00db1e..ba72c24b4f 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.h +++ b/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.h @@ -28,8 +28,13 @@ #include "LinearDiskCache.h" #include "ConfigManager.h" +#ifdef __APPLE__ +#include +using namespace std::tr1; +#else #include - +using namespace std; +#endif namespace OGL { @@ -153,7 +158,7 @@ private: } }; - typedef std::unordered_map PCache; + typedef unordered_map PCache; static PCache pshaders; static GLuint CurrentProgram;