--- code/sys/sys_unix.c.orig	2010-01-07 09:09:42.000000000 +0100
+++ code/sys/sys_unix.c	2010-01-07 09:10:49.000000000 +0100
@@ -56,7 +56,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
