> > The code around errcode is definitly messy. In CVS now, it actually > > renames *our* errcode() function to __msvc_errcode, and > exports this > > from postgres.exe. This is definitly very borken. > > Would it be possible to move the whole <crtdefs.h> block into win32.h? > This would cause it to be included after <stdio.h> and > friends, which maybe is too late, but taking it out of c.h > would be a lot cleaner.
Nope, it needs to go before <stdio.h> and friends, unfortunatly. //Magnus ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend