summaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-10-12 15:25:38 -0700
committerAndres Freund <andres@anarazel.de>2017-10-12 16:17:35 -0700
commit91d5f1a4a3e8aea2a6488243bac55806160408fb (patch)
treedf46b88f83af171650e73490749fe52aee20bffd /src/backend/utils/cache/syscache.c
parent1c497fa72df7593d8976653538da3d0ab033207f (diff)
Use C99 restrict via pg_restrict, rather than restrict directly.
Unfortunately using 'restrict' plainly causes problems with MSVC, which supports restrict only as '__restrict'. Defining 'restrict' to '__restrict' unfortunately causes a conflict with MSVC's usage of __declspec(restrict) in headers. Therefore define pg_restrict to the appropriate keyword instead, and replace existing usages. This replaces the temporary workaround introduced in 36b4b91ba078. Author: Andres Freund Discussion: https://postgr.es/m/2656.1507830907@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
0 files changed, 0 insertions, 0 deletions