mirror of https://github.com/odrling/Aegisub
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.
This commit is contained in:
parent
31be1e68a2
commit
5523314bb2
|
@ -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<wxStandardPaths&>(paths).SetInstallPrefix(wxT(INSTALL_PREFIX));
|
||||
|
|
Loading…
Reference in New Issue