diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/sys/sys_unix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/code/sys/sys_unix.c b/code/sys/sys_unix.c index f80a27f..641770c 100644 --- a/code/sys/sys_unix.c +++ b/code/sys/sys_unix.c @@ -54,9 +54,7 @@ char *Sys_DefaultHomePath(void) if( ( p = getenv( "HOME" ) ) != NULL ) { Q_strncpyz( homePath, p, sizeof( homePath ) ); -#ifdef HOMEPATH - Q_strcat( homePath, sizeof( homePath ), HOMEPATH ); -#elif defined(MACOS_X) +#ifdef MACOS_X Q_strcat( homePath, sizeof( homePath ), "/Library" ); mkdir( homePath, 0750 ); /* just in case. */ Q_strcat( homePath, sizeof( homePath ), "/Application Support" ); |