(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

@ -48,7 +48,7 @@
* #1, lx:ly,hx:hy --> NS_AREA
* @x,y:dist --> NS_DIST
* %d or %d/%d/%d --> NS_LIST
* * --> NS_EVERYTHING
* * --> NS_ALL
*
* or 0 for none of the above.
*/
@ -61,7 +61,7 @@ sarg_type(char *str)
if (c == '@')
return NS_DIST;
if (c == '*')
return NS_EVERYTHING;
return NS_ALL;
if (c == '#' || strchr(str, ',') != 0)
return NS_AREA;
if (isdigit(c))