From e17e84266dd93bd6ecde6c51bc9063364d894ada Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Mon, 8 Sep 2014 11:24:39 -0400 Subject: [PATCH] Fix bad #ifdef, make ANSI compliant `#elif LMMS_BUILD_APPLE` is not correct, it should be `#elif defined(LMMS_BUILD_APPLE)` --- src/gui/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index d72974079..9529c45e4 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -133,7 +133,7 @@ MainWindow::MainWindow() : sideBar->appendTab( new FileBrowser( root_paths.join( "*" ), "*", #ifdef LMMS_BUILD_WIN32 tr( "My computer" ), -#elif LMMS_BUILD_APPLE +#elif defined(LMMS_BUILD_APPLE) tr( "Volumes" ), #else tr( "Root directory" ),