Small patch to fix windows build - Mailing list pgsql-hackers

From David Rowley
Subject Small patch to fix windows build
Date
Msg-id CAApHDvp2BSg9vN4L0L1KM-sZEWbK_aZXm1v7hxkY5tZE_xUHPA@mail.gmail.com
Whole thread Raw
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Mike Swanson
Date:
Subject: Proposed changing the definition of decade for date_trunc and extract
Next
From: David G Johnston
Date:
Subject: Re: Proposed changing the definition of decade for date_trunc and extract