diff -r 0ff02108615a -r 44e8e76d4e53 loader/loader.cpp --- a/loader/loader.cpp Sun Dec 28 03:15:15 2008 -0500 +++ b/loader/loader.cpp Sun Dec 28 03:23:45 2008 -0500 @@ -33,7 +33,7 @@ #include #include #include -#include +#include #if defined _MSC_VER #define DLL_EXPORT extern "C" __declspec(dllexport) @@ -120,7 +120,7 @@ if (!(g_hCore=openlib(path))) { -#if defined __linux__ +#if defined __linux__ || defined __APPLE__ UTIL_Format(s_FailPlugin.error_buffer, sizeof(s_FailPlugin.error_buffer), "%s", @@ -295,7 +295,7 @@ #endif /* Overload a few things to prevent libstdc++ linking */ -#if defined __linux__ +#if defined __linux__ || defined __APPLE__ extern "C" void __cxa_pure_virtual(void) { }