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