aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_expr.c
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2023-10-17 16:11:03 -0500
committerNathan Bossart <nathan@postgresql.org>2023-10-17 16:11:03 -0500
commit555bc89c9060803d9812ad41765971d8b8a67363 (patch)
treef4f5308a8b7232c83b112a78723f84cf2a8076e7 /src/backend/jit/llvm/llvmjit_expr.c
parentdc159b95d921e12e82820301413945eff1ca88b0 (diff)
downloadpostgresql-555bc89c9060803d9812ad41765971d8b8a67363.tar.gz
postgresql-555bc89c9060803d9812ad41765971d8b8a67363.zip
windows: msvc: Define STDIN/OUT/ERR_FILENO.
This commit (c290e79cf0) was originally back-patched to v15. Commit 97550c0711 added a new use of STDERR_FILENO, and it was back-patched all the way to v11, thus breaking MSVC builds for v11 through v14. Since STDERR_FILENO is now needed on older versions, let's back-patch c290e79cf0 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, 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) Discussion: https://postgr.es/m/20231017164517.GA613565%40nathanxps13 Backpatch-through: 11
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions