Fix: [Emscripten] Use non-XDG directories to simplify lolac storage (#9207)

This commit is contained in:
embeddedt 2021-05-08 03:43:17 -04:00 committed by GitHub
parent b56c03b120
commit a879996012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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