2. The file /usr/local/pgsql/src/backend/lipq/pgcomprim.c has two
invalid macro definitions, the compiler complains about: "pqcomprim.c", line 48.9: 1506-275 (S) Unexpected text ';' ignored. "pqcomprim.c", line 61.9: 1506-275 (S) Unexpected text ';' ignored. The ';' terminating the macro definition ntoh_s(n) on line 27 and ntoh_l(n) on line 28 should be removed. Pointed out by: Olaf Mittelstaedt <MSTAEDT@va-sigi.va.fh-ulm.de>
This commit is contained in:
parent
953ac7b55a
commit
d8a300d867
|
@ -24,10 +24,10 @@
|
|||
# define hton_l(n) n
|
||||
#else /* BYTE_ORDER != LITTLE_ENDIAN */
|
||||
# if BYTE_ORDER == BIG_ENDIAN
|
||||
# define ntoh_s(n) (u_short)(((u_char *) &n)[0] << 8 | ((u_char *) &n)[1]);
|
||||
# define ntoh_s(n) (u_short)(((u_char *) &n)[0] << 8 | ((u_char *) &n)[1])
|
||||
# define ntoh_l(n) (u_long)(((u_char *)&n)[0] << 24 | \
|
||||
((u_char *)&n)[1] << 16 | \
|
||||
((u_char *)&n)[2] << 8 | ((u_char *)&n)[3]);
|
||||
((u_char *)&n)[2] << 8 | ((u_char *)&n)[3])
|
||||
# define hton_s(n) (ntoh_s(n))
|
||||
# define hton_l(n) (ntoh_l(n))
|
||||
# else /* BYTE_ORDER != BIG_ENDIAN */
|
||||
|
|
Loading…
Reference in New Issue