diff -urbB wget/src/mswindows.c wget.wip/src/mswindows.c
--- wget/src/mswindows.c	Thu Apr  7 14:26:35 2005
+++ wget.wip/src/mswindows.c	Thu Apr  7 14:35:34 2005
@@ -115,8 +115,8 @@
 __int64
 str_to_int64 (const char *nptr, char **endptr, int base)
 {
-#define OVERFLOW 9223372036854775807I64
-#define UNDERFLOW (-OVERFLOW - 1)
+#define WG_OVERFLOW 9223372036854775807I64
+#define WG_UNDERFLOW (-WG_OVERFLOW - 1)
 
   __int64 result = 0;
   int negative;
@@ -169,7 +169,7 @@
 	  __int64 newresult = base * result + val;
 	  if (newresult < result)
 	    {
-	      result = OVERFLOW;
+	      result = WG_OVERFLOW;
 	      errno = ERANGE;
 	      break;
 	    }
@@ -185,7 +185,7 @@
 	  __int64 newresult = base * result - val;
 	  if (newresult > result)
 	    {
-	      result = UNDERFLOW;
+	      result = WG_UNDERFLOW;
 	      errno = ERANGE;
 	      break;
 	    }
