diff options
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 50f060de65..cf9c0bf56d 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -52,7 +52,7 @@ #include "gui/ThemeEval.h" #include "graphics/cursorman.h" -#ifdef USE_LIBCURL +#if defined(USE_CLOUD) && defined(USE_LIBCURL) #include "backends/cloud/cloudmanager.h" #endif @@ -328,7 +328,7 @@ void LauncherDialog::addGame() { if (_browser->runModal() > 0) { // User made his choice... -#ifdef USE_LIBCURL +#if defined(USE_CLOUD) && defined(USE_LIBCURL) String selectedDirectory = _browser->getResult().getPath(); String bannedDirectory = CloudMan.getDownloadLocalDirectory(); if (selectedDirectory.size() && selectedDirectory.lastChar() != '/' && selectedDirectory.lastChar() != '\\') |