]> granicus.if.org Git - postgresql/commit
Work around overly strict restrict checks by MSVC.
authorAndres Freund <andres@anarazel.de>
Thu, 12 Oct 2017 00:16:16 +0000 (17:16 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 12 Oct 2017 00:23:23 +0000 (17:23 -0700)
commit060b069984a69ff0255ce318f10681c553613bef
tree0b08d43b5e911ceaefa6995d1917c09ab617ff66
parent4c119fbcd49ba882791c7b99a1e934b985468e9f
Work around overly strict restrict checks by MSVC.

Apparently MSVC requires a * before a restrict in a variable
declaration, even if the adorned type already is a pointer, just via
typedef.

As reported by buildfarm animal woodlouse.

Author: Andres Freund
Discussion: https://postgr.es/m/20171012001320.4putagiruuehtvb6@alap3.anarazel.de
src/include/libpq/pqformat.h