(NS_ALL) [_WIN32]: Change NS_EVERYTHING back to NS_ALL, #undef NS_ALL to prevent conflict with winsock2.h
This commit is contained in:
parent
e215af5ac5
commit
0b172c6553
11 changed files with 22 additions and 16 deletions
|
@ -41,7 +41,7 @@
|
|||
|
||||
/*
|
||||
* setup the nstr_sect structure for sector selection.
|
||||
* can select on either NS_EVERYTHING, NS_AREA, or NS_RANGE
|
||||
* can select on either NS_ALL, NS_AREA, or NS_RANGE
|
||||
* iterate thru the "condarg" string looking
|
||||
* for arguments to compile into the nstr.
|
||||
*/
|
||||
|
@ -74,7 +74,7 @@ snxtsct(struct nstr_sect *np, s_char *str)
|
|||
return 0;
|
||||
snxtsct_dist(np, cx, cy, dist);
|
||||
break;
|
||||
case NS_EVERYTHING:
|
||||
case NS_ALL:
|
||||
/* fake "all" by doing a world-sized area query */
|
||||
snxtsct_area(np, &wr);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue