summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorembeddedt <42941056+embeddedt@users.noreply.github.com>2021-05-08 03:43:17 -0400
committerGitHub <noreply@github.com>2021-05-08 09:43:17 +0200
commita87999601294af97d8d914db232f24525d9248ce (patch)
tree94a6b91a93cf36cc8f943f73a2f23c464198261e
parentb56c03b12009e2356af0ff01c028132e36c97b5d (diff)
downloadopenttd-a87999601294af97d8d914db232f24525d9248ce.tar.xz
Fix: [Emscripten] Use non-XDG directories to simplify lolac storage (#9207)
-rw-r--r--src/stdafx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 819eb0e61..937c053f2 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -347,7 +347,7 @@ typedef unsigned char byte;
#endif
/* Define the the platforms that use XDG */
-#if defined(WITH_PERSONAL_DIR) && defined(UNIX) && !defined(__APPLE__)
+#if defined(WITH_PERSONAL_DIR) && defined(UNIX) && !defined(__APPLE__) && !defined(__EMSCRIPTEN__)
# define USE_XDG
#endif