From 5523314bb2afce7e264fcaebe7552ef8cb6973a5 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 1 Jan 2009 14:01:45 +0000 Subject: [PATCH] Change #ifdef __UNIX__ to #if defined(__UNIX__) && !defined(__APPLE__) as __UNIX__ is triggered on OS X as well which breaks things when setting SetInstallPrefix. Originally committed to SVN as r2608. --- aegisub/standard_paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/standard_paths.cpp b/aegisub/standard_paths.cpp index 3deb3e628..24f8a4cb1 100644 --- a/aegisub/standard_paths.cpp +++ b/aegisub/standard_paths.cpp @@ -54,7 +54,7 @@ StandardPaths *StandardPaths::GetInstance() { StandardPaths::StandardPaths() { wxStandardPathsBase &paths = wxStandardPaths::Get(); -#ifdef __UNIX__ +#if defined(__UNIX__) && !defined(__APPLE__) // Relocation support, this is required to set the prefix to all // wx StandardPaths. static_cast(paths).SetInstallPrefix(wxT(INSTALL_PREFIX));