find and comment this:
#define strtof(str, endptr) (float)strtod(str, endptr)
Just refreshed the page and noticed you updated your previous reply.
Anyhow, wrapping them in "ifndef WIN32" is absolutely useless, since the whole block is wrapped in "ifdef WIN32", so you can just delete them.
Mate, I'm sorry, but I don't understand what you're trying to say.
Are you trying to compile your server's source with Visual Studio(win32) or what do you mean? And what do "sql files" have to do with anything?
I asked you to show us the piece of code that throws the first error. Where is it?