- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitbc322c7
committed
windows: msvc: Define STDIN/OUT/ERR_FILENO.
This commit (c290e79) was originally back-patched to v15.Commit97550c0 added a new use of STDERR_FILENO, and it wasback-patched all the way to v11, thus breaking MSVC builds for v11through v14. Since STDERR_FILENO is now needed on older versions,let's back-patchc290e79 down to v11, too.Here follows the original commit message describing the change:Because they are not available we've used _fileno(stdin) in some places, butthat doesn't reliably work, because stdin might be closed. This is theprerequisite of the subsequent commit, fixing a failure introduced in76e38b3.Author: Andres Freund <andres@anarazel.de>Reported-By: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>Message-Id: 20220520164558.ozb7lm6unakqzezi@alap3.anarazel.de (on pgsql-packagers)Discussion:https://postgr.es/m/20231017164517.GA613565%40nathanxps13Backpatch-through: 111 parent05b4614 commitbc322c7
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + |
0 commit comments
Comments
(0)