porting fixes
Modified: trunk/reactos/apps/utils/net/ftp/cmds.c
Modified: trunk/reactos/apps/utils/net/ftp/ftp.c
Modified: trunk/reactos/apps/utils/net/ftp/main.c
Modified: trunk/reactos/apps/utils/net/ipconfig/ipconfig.c

Modified: trunk/reactos/apps/utils/net/ftp/cmds.c
--- trunk/reactos/apps/utils/net/ftp/cmds.c	2005-11-23 06:00:41 UTC (rev 19480)
+++ trunk/reactos/apps/utils/net/ftp/cmds.c	2005-11-23 06:02:15 UTC (rev 19481)
@@ -25,7 +25,7 @@
 //#include <sys/param.h>
 //#include <sys/wait.h>
 #include <sys/stat.h>
-#if !defined(WIN32)
+#ifndef _WIN32
 #include <sys/socket.h>
 #include <arpa/ftp.h>
 #include <netinet/in.h>

Modified: trunk/reactos/apps/utils/net/ftp/ftp.c
--- trunk/reactos/apps/utils/net/ftp/ftp.c	2005-11-23 06:00:41 UTC (rev 19480)
+++ trunk/reactos/apps/utils/net/ftp/ftp.c	2005-11-23 06:02:15 UTC (rev 19481)
@@ -25,7 +25,7 @@
 
 #include <sys/stat.h>
 
-#if !defined(WIN32)
+#ifndef _WIN32
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/time.h>

Modified: trunk/reactos/apps/utils/net/ftp/main.c
--- trunk/reactos/apps/utils/net/ftp/main.c	2005-11-23 06:00:41 UTC (rev 19480)
+++ trunk/reactos/apps/utils/net/ftp/main.c	2005-11-23 06:02:15 UTC (rev 19481)
@@ -28,7 +28,7 @@
 /*
  * FTP User Program -- Command Interface.
  */
-#if !defined(WIN32)
+#ifndef _WIN32
 #include <netdb.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>

Modified: trunk/reactos/apps/utils/net/ipconfig/ipconfig.c
--- trunk/reactos/apps/utils/net/ipconfig/ipconfig.c	2005-11-23 06:00:41 UTC (rev 19480)
+++ trunk/reactos/apps/utils/net/ipconfig/ipconfig.c	2005-11-23 06:02:15 UTC (rev 19481)
@@ -236,8 +236,9 @@
     if (Index == (TCHAR)NULL)
     {
         PIP_INTERFACE_INFO pInfo;
+        ULONG ulOutBufLen;
         pInfo = (IP_INTERFACE_INFO *) malloc(sizeof(IP_INTERFACE_INFO));
-        ULONG ulOutBufLen = 0;
+        ulOutBufLen = 0;
 
         /* Make an initial call to GetInterfaceInfo to get
          * the necessary size into the ulOutBufLen variable */
@@ -290,8 +291,9 @@
     if (Index == (TCHAR)NULL)
     {
         PIP_INTERFACE_INFO pInfo;
+        ULONG ulOutBufLen;
         pInfo = (IP_INTERFACE_INFO *) malloc(sizeof(IP_INTERFACE_INFO));
-        ULONG ulOutBufLen = 0;
+        ulOutBufLen = 0;
 
         /* Make an initial call to GetInterfaceInfo to get
          * the necessary size into the ulOutBufLen variable */
@@ -335,9 +337,12 @@
 {
      // Declare and initialize variables
     PIP_INTERFACE_INFO pInfo;
+    ULONG ulOutBufLen;
+    DWORD dwRetVal;
+
     pInfo = (IP_INTERFACE_INFO *) malloc( sizeof(IP_INTERFACE_INFO) );
-    ULONG ulOutBufLen = sizeof(IP_INTERFACE_INFO);
-    DWORD dwRetVal = 0;
+    ulOutBufLen = sizeof(IP_INTERFACE_INFO);
+    dwRetVal = 0;
 
 
     // Make an initial call to GetInterfaceInfo to get