forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3609c0d
committed
Declare mkdtemp() only if we're providing it.
Follow our usual style of providing an "extern" for a standard libraryfunction only when we're also providing the implementation. This avoidsissues when the system headers declare the function slightly differentlythan we do, as noted by Caleb Welton.We might have to go to the extent of probing to see if the system headersdeclare the function, but let's not do that until it's demonstrated to benecessary.Oversight in commit9e6b1bf. Back-patchto all supported branches, as that was.1 parent6de1b53 commit3609c0d
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
408 | 408 |
| |
409 | 409 |
| |
410 | 410 |
| |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
411 | 415 |
| |
412 | 416 |
| |
413 | 417 |
| |
| |||
475 | 479 |
| |
476 | 480 |
| |
477 | 481 |
| |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 | 482 |
|
0 commit comments
Comments
(0)