in reply to Compiling 5.8.0 on Win2K

I think it could be something wrong with your installation of mingw, which is probably too old and unsupported?

What is in that "stdio.h" file near mentioned line 364?

Also, if a compiler explains about different declarations, try make it same or may be temporarily remove declaration of that function from win32.c.

Courage, the Cowardly Dog