During my work on CMake I stumbled upon this simple bug. I think this is important for mingw users.The function is trying to return a variable that has not been announced.
Patch in attach. Probably relevant for stable releases.
Thanks! -- YUriy ZhuravlevPostgres Professional: http://www.postgrespro.comThe Russian Postgres Company