diff --git a/rpcs3/Emu/RSX/GL/OpenGL.cpp b/rpcs3/Emu/RSX/GL/OpenGL.cpp index d87d7349f6..7309fe1d7e 100644 --- a/rpcs3/Emu/RSX/GL/OpenGL.cpp +++ b/rpcs3/Emu/RSX/GL/OpenGL.cpp @@ -11,7 +11,7 @@ void InitProcTable() #undef OPENGL_PROC #undef OPENGL_PROC2 #endif -#ifdef __UNIX__ +#ifdef __unix__ glewExperimental = true; glewInit(); #endif diff --git a/rpcs3/rpcs3.cpp b/rpcs3/rpcs3.cpp index c5fb281606..09da440a9c 100644 --- a/rpcs3/rpcs3.cpp +++ b/rpcs3/rpcs3.cpp @@ -31,7 +31,7 @@ #include #endif -#ifdef __UNIX__ +#ifdef __unix__ #include #endif @@ -180,7 +180,7 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr) Rpcs3App::Rpcs3App() { - #if defined(__UNIX__) && !defined(__APPLE__) + #if defined(__unix__) && !defined(__APPLE__) XInitThreads(); #endif }