--- deliantra/Deliantra-Client/Client.xs 2006/10/01 14:48:50 1.157 +++ deliantra/Deliantra-Client/Client.xs 2006/10/09 23:30:44 1.161 @@ -658,7 +658,6 @@ PPCODE: { #ifdef _WIN32 - INTERNET_PROXY_INFO proxyinfo; char buffer[2048]; DWORD buflen; @@ -795,9 +794,13 @@ _exit (1); void -_exit (int retval) +_exit (int retval = 0) CODE: +#ifdef WIN32 + ExitThread (retval); // unclean, please beam me up +#else _exit (retval); +#endif MODULE = CFPlus PACKAGE = CFPlus::Font