From 0676c1f470f518b8732e99fa8be52f80aefda83b Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Sat, 8 May 2021 03:43:17 -0400 Subject: [PATCH] Fix: [Emscripten] Use non-XDG directories to simplify lolac storage (#9207) (cherry picked from commit a87999601294af97d8d914db232f24525d9248ce) --- src/stdafx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdafx.h b/src/stdafx.h index a3d7249400..ace3d6163c 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -354,7 +354,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