Bruce Momjian wrote: > OK, I am wrong above. Coding assumes WIN32 is only for port named > WIN32, which is mingw, and for BCC and VCC. I was not aware Cygwin > defined it at all. Are we sure it does in a header file?
The problem is that some pieces of Cygwin code include windows.h, which it shouldn't do. If you fix those places, then there is no problem. > I wonder if we should just call the port mingw and change the proper > defines to __MINGW__. We would then create a define called > WIN32_NATIVE that is defined for __MINGW__, BVC and VCC. WIN32 is the correct symbol; see above. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend