aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-10-17 22:55:20 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-10-17 22:55:20 -0400
commit60f8133dc95d8d55ac52186eb9988559816cac49 (patch)
tree24522851c0fe0567b647082533115cefd0385da4 /src/backend/utils/adt/pgstatfuncs.c
parent5ba062ee44c35b4dc49ccf869fe48f3c6f5f926f (diff)
downloadpostgresql-60f8133dc95d8d55ac52186eb9988559816cac49.tar.gz
postgresql-60f8133dc95d8d55ac52186eb9988559816cac49.zip
Declare mkdtemp() only if we're providing it.
Follow our usual style of providing an "extern" for a standard library function only when we're also providing the implementation. This avoids issues when the system headers declare the function slightly differently than we do, as noted by Caleb Welton. We might have to go to the extent of probing to see if the system headers declare the function, but let's not do that until it's demonstrated to be necessary. Oversight in commit 9e6b1bf258170e62dac555fc82ff0536dfe01d29. Back-patch to all supported branches, as that was.
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions