summaryrefslogtreecommitdiff
path: root/src/fileio_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio_type.h')
-rw-r--r--src/fileio_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio_type.h b/src/fileio_type.h
index 62147f9e6..17be6d60f 100644
--- a/src/fileio_type.h
+++ b/src/fileio_type.h
@@ -131,7 +131,7 @@ enum Subdirectory {
enum Searchpath : unsigned {
SP_FIRST_DIR,
SP_WORKING_DIR = SP_FIRST_DIR, ///< Search in the working directory
-#if defined(WITH_XDG_BASEDIR) && defined(WITH_PERSONAL_DIR)
+#ifdef USE_XDG
SP_PERSONAL_DIR_XDG, ///< Search in the personal directory from the XDG specification
#endif
SP_PERSONAL_DIR, ///< Search in the personal directory