diff options
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index dca0e6c6f..12d4fa81d 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -348,6 +348,11 @@ typedef unsigned char byte; # define PERSONAL_DIR "" #endif +/* Define the the platforms that use XDG */ +#if defined(WITH_PERSONAL_DIR) && defined(UNIX) && !defined(__APPLE__) +# define USE_XDG +#endif + /* Check if the types have the bitsizes like we are using them */ static_assert(sizeof(uint64) == 8); static_assert(sizeof(uint32) == 4); |