cosmetic changes

This commit is contained in:
Jeff Hill
1991-09-20 15:21:56 +00:00
parent fd0b9009de
commit 1c64143fa6

View File

@@ -27,8 +27,12 @@
# define htons(SHORT)\
((unsigned short)(((short)(SHORT))<<8 | ((unsigned short)(SHORT))>>8 ))
#else
# define ntohs(SHORT) (SHORT)
# define htons(SHORT) (SHORT)
# ifndef ntohs
# define ntohs(SHORT) (SHORT)
# endif
# ifndef htons
# define htons(SHORT) (SHORT)
# endif
#endif
@@ -48,8 +52,12 @@
(((long)(LONG))&0x0000ff00)<<8\
)
#else
# define ntohl(LONG) (LONG)
# define htonl(LONG) (LONG)
# ifndef ntohl
# define ntohl(LONG) (LONG)
# endif
# ifndef htonl
# define htonl(LONG) (LONG)
# endif
#endif