pgsql: Temporary attempt at a workaround for further MSVC restrict buil

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Temporary attempt at a workaround for further MSVC restrict buil
Date: 2017-10-12 02:11:02
Message-ID: E1e2Sxi-0004ey-49@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Temporary attempt at a workaround for further MSVC restrict build failures.

It appears some versions of msvc use __declspec(restrict) in stdlib.h
and subsidiary headers. Including those after defining 'restrict' to
'__restrict' doesn't work. Try to get the buildfarm green to see
whether there's further problems, by including stdlib.h just before
said define.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/36b4b91ba07843406d5a30106facb59d8275c6de

Modified Files
--------------
src/include/pg_config.h.win32 | 5 +++++
1 file changed, 5 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-10-12 02:18:30 pgsql: Prevent sharing transition states between ordered-set aggregates
Previous Message Andres Freund 2017-10-12 00:28:21 pgsql: Work around overly strict restrict checks by MSVC.