diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2020-12-06 18:49:28 +0000 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2021-01-02 19:46:08 +0000 |
commit | 3dfee979a7e486b8d90f6398ea557d2889855059 (patch) | |
tree | ce9eed1f60a868f30b80d08e2033d7615042f9b4 /src/fileio_type.h | |
parent | c288eba81389d07e27b32f28c6dc4dc518824d2b (diff) | |
download | openttd-3dfee979a7e486b8d90f6398ea557d2889855059.tar.xz |
Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves
Diffstat (limited to 'src/fileio_type.h')
-rw-r--r-- | src/fileio_type.h | 2 |
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 |