summaryrefslogtreecommitdiff
path: root/src/dirs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r--src/dirs.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp
index f1c9e9550..bcdea060c 100644
--- a/src/dirs.cpp
+++ b/src/dirs.cpp
@@ -168,8 +168,7 @@ void Dirs::updateDataPath()
void Dirs::extractDataDir()
{
-#ifdef ANDROID
-#ifdef USE_SDL2
+#if defined(ANDROID) && defined(USE_SDL2)
Files::setCopyCallBack(&updateProgress);
resetProgress();
extractAssets();
@@ -183,7 +182,6 @@ void Dirs::extractDataDir()
Files::extractZip(zipName, "data", dirName);
Files::extractLocale();
#endif
-#endif
}
void Dirs::mountDataDir()