diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-10-12 20:34:55 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-10-12 20:34:55 +0900 |
commit | e578c17d81662b4f4f63a2797bc1be64af3c8f93 (patch) | |
tree | efb89c95588069c3bc98120f07495031ee9de128 /src/backend/access/gist/gistbuildbuffers.c | |
parent | f0f13a3a08b2757997410f3a1c38bdc22973c525 (diff) | |
download | postgresql-e578c17d81662b4f4f63a2797bc1be64af3c8f93.tar.gz |
Fix compilation warning in unicode_norm.c
80f8eb7 has introduced in unicode_norm.c some new code that uses
htonl(). On at least some FreeBSD environments, it is possible to find
that this function is undeclared, causing a compilation warning. It is
worth noting that no buildfarm members have reported this issue.
Instead of adding a new inclusion to arpa/inet.h, switch to use
the equivalent defined in pg_bswap.h, to benefit from any built-in
function if the compiler has one.
Reported-by: Masahiko Sawada
Discussion: https://postgr.es/m/CA+fd4k7D4b12ShywWj=AbcHZzV1-OqMjNe7RZAu+tgz5rd_11A@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions