]> granicus.if.org Git - postgresql/commit
Temporary attempt at a workaround for further MSVC restrict build failures.
authorAndres Freund <andres@anarazel.de>
Thu, 12 Oct 2017 02:06:29 +0000 (19:06 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 12 Oct 2017 02:06:29 +0000 (19:06 -0700)
commit36b4b91ba07843406d5a30106facb59d8275c6de
treed44a0f90cd0e3c0dd0660d7c99d2dbfb2e83f4c9
parent060b069984a69ff0255ce318f10681c553613bef
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.
src/include/pg_config.h.win32