From 9198e83ae1bce49e872da04b5bb531c80ffde818 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Wed, 16 Mar 2011 22:58:24 +0000 Subject: [PATCH] Hack Misc.cpp into building on OS X. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7362 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/Misc.cpp | 4 ++++ Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/Misc.cpp b/Source/Core/Common/Src/Misc.cpp index 3b075f3dbc..aafe37886f 100644 --- a/Source/Core/Common/Src/Misc.cpp +++ b/Source/Core/Common/Src/Misc.cpp @@ -17,6 +17,10 @@ #include "Common.h" +#ifdef __APPLE__ +#define __thread +#endif + // Generic function to get last error message. // Call directly after the command or use the error num. // This function might change the error code. diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp index 0968a04767..a6dbb835d2 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp @@ -259,4 +259,4 @@ void VideoSoftware::UpdateFPSDisplay(const char *text) OpenGL_SetWindowText(temp); } -} \ No newline at end of file +}