--- code/sys/sys_unix.c.orig	2009-12-08 09:57:17.000000000 +0100
+++ code/sys/sys_unix.c	2009-12-08 10:08:47.000000000 +0100
@@ -54,7 +54,9 @@
 		if( ( p = getenv( "HOME" ) ) != NULL )
 		{
 			Q_strncpyz( homePath, p, sizeof( homePath ) );
-#ifdef MACOS_X
+#ifdef HOMEPATH
+			Q_strcat( homePath, sizeof( homePath ), HOMEPATH );
+#elif defined MACOS_X
 			Q_strcat( homePath, sizeof( homePath ),
 					"/Library/Application Support/Quake3" );
 #else
