aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-protocol3.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-08-18 16:16:00 +1200
committerThomas Munro <tmunro@postgresql.org>2022-08-18 16:31:11 +1200
commitcce28f62680ca77f18762d58bc31f6b67c6ef692 (patch)
tree3bb422828f5faae532bdb6097502d1471ec62f46 /src/interfaces/libpq/fe-protocol3.c
parent2cea02fb85b9b00c3b95d8cd0e39cf91cd2ce289 (diff)
downloadpostgresql-cce28f62680ca77f18762d58bc31f6b67c6ef692.tar.gz
postgresql-cce28f62680ca77f18762d58bc31f6b67c6ef692.zip
Fix macro problem with gai_strerror on Windows.
Commit 5579388d was confused about why gai_strerror() didn't work, and used gai_strerrorA(). It turns out that we had explicitly undefined Windows' own macro for that somewhere else. Get rid of all that, and use the system headers' definition of gai_sterror() directly as intended. Discussion: https://postgr.es/m/CA+hUKGKErNfhmvb_H0UprEmp4LPzGN06yR2_0tYikjzB-2ECMw@mail.gmail.com
Diffstat (limited to 'src/interfaces/libpq/fe-protocol3.c')
0 files changed, 0 insertions, 0 deletions