forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit28e9ebb
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 parent96139cf commit28e9ebb
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
426 | 426 |
| |
427 | 427 |
| |
428 | 428 |
| |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
429 | 433 |
| |
430 | 434 |
| |
431 | 435 |
| |
| |||
497 | 501 |
| |
498 | 502 |
| |
499 | 503 |
| |
500 |
| - | |
501 |
| - | |
502 |
| - | |
503 | 504 |
|
0 commit comments
Comments
(0)