undef PUTSHORT to avoid conflict

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10710 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-09-17 02:05:12 +00:00
parent 03a2d017b3
commit 89ee91db82

View File

@@ -2286,6 +2286,7 @@ sendnaws()
if (my_state_is_wont(TELOPT_NAWS))
return;
#undef PUTSHORT
#define PUTSHORT(cp, x) { if ((*cp++ = ((x)>>8)&0xff) == IAC) *cp++ = IAC; \
if ((*cp++ = ((x))&0xff) == IAC) *cp++ = IAC; }