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

Andres Freund <andres@anarazel.de>

Commit: 36b4b91ba07843406d5a30106facb59d8275c6de
Author: Andres Freund <andres@anarazel.de>
Date: 2017-10-12T02:06:29Z
Releases: 11.0
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.

Files

PathChange+/−
src/include/pg_config.h.win32 modified +5 −0