forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite578c17
committed
Fix compilation warning in unicode_norm.c
80f8eb7 has introduced in unicode_norm.c some new code that useshtonl(). On at least some FreeBSD environments, it is possible to findthat this function is undeclared, causing a compilation warning. It isworth noting that no buildfarm members have reported this issue.Instead of adding a new inclusion to arpa/inet.h, switch to usethe equivalent defined in pg_bswap.h, to benefit from any built-infunction if the compiler has one.Reported-by: Masahiko SawadaDiscussion:https://postgr.es/m/CA+fd4k7D4b12ShywWj=AbcHZzV1-OqMjNe7RZAu+tgz5rd_11A@mail.gmail.com1 parentf0f13a3 commite578c17
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
475 | 476 |
| |
476 | 477 |
| |
477 | 478 |
| |
478 |
| - | |
| 479 | + | |
479 | 480 |
| |
480 | 481 |
| |
481 | 482 |
| |
|
0 commit comments
Comments
(0)