unix preprocessor define typo fixed

This commit is contained in:
Peter Tissen 2014-09-03 12:06:11 +02:00
parent 82f31b6436
commit 383f6aff2b
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ void InitProcTable()
#undef OPENGL_PROC #undef OPENGL_PROC
#undef OPENGL_PROC2 #undef OPENGL_PROC2
#endif #endif
#ifdef __UNIX__ #ifdef __unix__
glewExperimental = true; glewExperimental = true;
glewInit(); glewInit();
#endif #endif

View File

@ -31,7 +31,7 @@
#include <wx/msw/wrapwin.h> #include <wx/msw/wrapwin.h>
#endif #endif
#ifdef __UNIX__ #ifdef __unix__
#include <X11/Xlib.h> #include <X11/Xlib.h>
#endif #endif
@ -180,7 +180,7 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
Rpcs3App::Rpcs3App() Rpcs3App::Rpcs3App()
{ {
#if defined(__UNIX__) && !defined(__APPLE__) #if defined(__unix__) && !defined(__APPLE__)
XInitThreads(); XInitThreads();
#endif #endif
} }