diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-02-18 12:55:01 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 19:53:57 +0200 |
commit | c70d7a8c1fdf97aecc1e2a3a182fa1f3c091520a (patch) | |
tree | 0defd08159f04fb4d89022a157923ba152321c78 /src/main.c | |
parent | a782675c1580b6e9df12c8e1b73aee82be2051ec (diff) |
Remove conditional compilation based on PRIVATE_USER_PATH. It is always set.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -47,8 +47,6 @@ static void quit_hook(cptr s) -#ifdef PRIVATE_USER_PATH - /* * Check and create if needed the directory dirpath */ @@ -110,8 +108,6 @@ static bool_ check_create_user_dir(void) return private_check_user_directory(dirpath) && private_check_user_directory(versionpath) && private_check_user_directory(savepath); } -#endif /* PRIVATE_USER_PATH */ - /* * Initialize and verify the file paths, and the score file. @@ -331,8 +327,6 @@ int main(int argc, char *argv[]) user_name(player_name, player_uid); -#ifdef PRIVATE_USER_PATH - /* * On multiuser systems, users' private directories are * used to store pref files, chardumps etc. @@ -347,8 +341,6 @@ int main(int argc, char *argv[]) if (ret == FALSE) quit("Cannot create directory " PRIVATE_USER_PATH); } -#endif /* PRIVATE_USER_PATH */ - #endif /* SET_UID */ |