diff -r e671afbb5b36 -r 194be299b700 loader/loader.cpp --- a/loader/loader.cpp Mon Dec 15 18:47:11 2008 +1300 +++ b/loader/loader.cpp Tue Dec 23 01:33:37 2008 -0500 @@ -33,7 +33,7 @@ #include #include #include -#include +#include #if defined _MSC_VER #define DLL_EXPORT extern "C" __declspec(dllexport) @@ -119,7 +119,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", @@ -289,7 +289,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) { }