I know you may not accept this but and at some point this will have to be changed for a wineserver port to native windows or cygwin but for now all we care about is fixing the win32api. So please fix this even if my dirty ifdef isnt it because 1. We dont use wineserver on Windows at current so it doesnt matter. Nor do I plan on really working on wineserver under cygwin/mingw for another year while I get this programming thing down. 2. Even if we did have wineserver it wouldnt work except on CYGWIN as MSVC and Mingw lack all of the POSIXisms of wineserver. It currently wont work on the Windows ports because it needs send/recvmessage and get/setThreadContext. Changelog: Fix compiling libwine on Mingw. cvs diff -u config.c Index: config.c =================================================================== RCS file: /home/wine/wine/library/config.c,v retrieving revision 1.2 diff -u -r1.2 config.c --- config.c 24 Jun 2002 23:00:26 -0000 1.2 +++ config.c 25 Jun 2002 05:50:16 -0000 @@ -95,6 +95,7 @@ const char *home = getenv( "HOME" ); const char *user = NULL; +#ifndef _WINDOWS const char *prefix = getenv( "WINEPREFIX" ); struct passwd *pwd = getpwuid( getuid() ); @@ -108,7 +109,6 @@ sprintf( uid_str, "%d", getuid() ); user = uid_str; } - /* build config_dir */ if (prefix) @@ -121,6 +121,7 @@ fatal_perror( "cannot open %s as specified in WINEPREFIX", config_dir ); } else +#endif { if (!home) fatal_error( "could not determine your home directory\n" ); if (home[0] != '/') fatal_error( "your home directory %s is not an absolute path\n", home ); __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com