--- deliantra/Deliantra-Client/Client.xs 2006/10/09 01:06:36 1.160 +++ deliantra/Deliantra-Client/Client.xs 2006/10/09 23:30:44 1.161 @@ -1,6 +1,4 @@ #ifdef _WIN32 -long _ftol (double); /* defined by VC6 C libs */ -long _ftol2 (double dblSource) { return _ftol (dblSource); } # define WIN32_LEAN_AND_MEAN # define _WIN32_WINNT 0x0500 // needed to get win2000 api calls # include @@ -798,7 +796,11 @@ void _exit (int retval = 0) CODE: +#ifdef WIN32 + ExitThread (retval); // unclean, please beam me up +#else _exit (retval); +#endif MODULE = CFPlus PACKAGE = CFPlus::Font