(NS_ALL) [_WIN32]: Change NS_EVERYTHING back to NS_ALL, #undef NS_ALL to prevent conflict with winsock2.h

This commit is contained in:
Ron Koenderink 2005-03-08 00:04:43 +00:00
parent e215af5ac5
commit 0b172c6553
11 changed files with 22 additions and 16 deletions

View file

@ -40,7 +40,7 @@
/*
* setup the nstr structure for sector selection.
* can select on NS_EVERYTHING, NS_AREA, NS_DIST, and NS_LIST.
* can select on NS_ALL, NS_AREA, NS_DIST, and NS_LIST.
* iterate thru the "condarg" string looking
* for arguments to compile into the nstr.
*/
@ -89,7 +89,7 @@ snxtitem(struct nstr_item *np, int type, s_char *str)
return 0;
snxtitem_dist(np, type, cx, cy, dist);
break;
case NS_EVERYTHING:
case NS_ALL:
snxtitem_all(np, type);
break;
case NS_LIST:
@ -184,7 +184,7 @@ snxtitem_all(struct nstr_item *np, int type)
{
memset(np, 0, sizeof(*np));
np->cur = -1;
np->sel = NS_EVERYTHING;
np->sel = NS_ALL;
np->type = type;
np->index = -1;
np->read = ef_read;