Use correct preprocessor check for Linux (#360)

This commit is contained in:
SSimco 2022-10-12 04:10:57 -07:00 committed by GitHub
parent d6ba61cf64
commit 8b3f36ad50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ bool CemuApp::OnInit()
#else #else
SetAppName("Cemu"); SetAppName("Cemu");
wxString appName=GetAppName(); wxString appName=GetAppName();
#ifdef BOOST_OS_LINUX #if BOOST_OS_LINUX
standardPaths.SetFileLayout(wxStandardPaths::FileLayout::FileLayout_XDG); standardPaths.SetFileLayout(wxStandardPaths::FileLayout::FileLayout_XDG);
auto getEnvDir = [&](const wxString& varName, const wxString& defaultValue) auto getEnvDir = [&](const wxString& varName, const wxString& defaultValue)
{ {