From a87999601294af97d8d914db232f24525d9248ce 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: Fix: [Emscripten] Use non-XDG directories to simplify lolac storage (#9207) --- src/stdafx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdafx.h') 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 -- cgit v1.2.3-54-g00ecf