On 14 March 2018 at 08:10, Tom Lane <t...@sss.pgh.pa.us> wrote: > Peter Eisentraut <pete...@gmx.net> writes: >> Move strtoint() to common > > Buildfarm seems to think this isn't quite baked for Windows.
Yeah, "restrict" seems to be C99, and the Microsoft compilers don't quite know about that yet. The attached compiles fine for me on a windows machine. Changing "restrict" to "__restrict" also works, so it might, longer-term, be worth some configure test and a PG_RESTICT macro so we can allow this, assuming there are performance gains to be had. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Description: Binary data