netinet/in.h: adjust hton/ntoh macros to be true constants
authorH. Peter Anvin <hpa@zytor.com>
Tue, 11 Aug 2009 20:16:13 +0000 (13:16 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 11 Aug 2009 20:16:13 +0000 (13:16 -0700)
commit0757cb3d6b64e810212024ca51bedbf16120fc6e
treefde51dc0af81778430ba7e7b549ac41ea1630b57
parente32f5182161fd5210e67ae57136e929dc20e0776
netinet/in.h: adjust hton/ntoh macros to be true constants

Tweak the hton/ntoh macros so that they are true constants if the
input is a constant expression; this makes them usable in the
preprocessor.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/include/netinet/in.h