From 383f6aff2bf22a47b9b20f483e9b60c991dde87c Mon Sep 17 00:00:00 2001 From: Peter Tissen Date: Wed, 3 Sep 2014 12:06:11 +0200 Subject: [PATCH] unix preprocessor define typo fixed --- rpcs3/Emu/RSX/GL/OpenGL.cpp | 2 +- rpcs3/rpcs3.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 }