This is untested on *nix build. With this we can build and link regression tests on Mingw again. Changelog: Casper Hornstrup <chorns_at_users.sourceforge.net> Fix export definition _onexit and atexit. Index: msvcrt.spec =================================================================== RCS file: /home/wine/wine/dlls/msvcrt/msvcrt.spec,v retrieving revision 1.76 diff -u -r1.76 msvcrt.spec --- msvcrt.spec 18 Jul 2003 22:54:47 -0000 1.76 +++ msvcrt.spec 23 Jul 2003 03:19:42 -0000 @@ -393,7 +393,7 @@ @ cdecl _mktemp(str) @ cdecl _msize(ptr) @ cdecl _nextafter(double double) -@ cdecl _onexit(ptr) +@ extern _onexit @ varargs _open(str long) @ cdecl _open_osfhandle(long long) @ stub _osver @@ -574,7 +574,7 @@ @ cdecl asin(double) @ cdecl atan(double) @ cdecl atan2(double double) -@ cdecl atexit(ptr) MSVCRT_atexit +@ extern atexit MSVCRT_atexit @ cdecl atof(str) @ cdecl atoi(str) @ cdecl atol(str) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com