postgresql/src/include/port/win32_msvc
Andres Freund c290e79cf0 windows: msvc: Define STDIN/OUT/ERR_FILENO.
Because they are not available we've used _fileno(stdin) in some places, but
that doesn't reliably work, because stdin might be closed. This is the
prerequisite of the subsequent commit, fixing a failure introduced in
76e38b37a5.

Author: Andres Freund <andres@anarazel.de>
Reported-By: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
Message-Id: 20220520164558.ozb7lm6unakqzezi@alap3.anarazel.de (on pgsql-packagers)
Backpatch: 15-, where 76e38b37a5 came in
2022-07-18 17:21:54 -07:00
..
sys Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
dirent.h Add d_type to our Windows dirent emulation. 2020-09-07 23:38:19 +12:00
unistd.h windows: msvc: Define STDIN/OUT/ERR_FILENO. 2022-07-18 17:21:54 -07:00
utime.h Assume that we have utime() and <utime.h>. 2020-02-21 14:30:47 -05:00