Small patch to fix windows build
Small patch to fix windows build
ed802e7 seems to have broken the windows builds.
.\contrib\pgbench\pgbench.c(530): error C2065: 'M_PI' : undeclared identifier
The attached fixes the problem. It seems all other uses of M_PI have added the same code to the .c file rather than any header file, perhaps a better patch would fix up all 3 of these locations and stick that code in a header file, but I don't really know where at the moment. This at least should get the build running again.
Regards
David Rowley