remove some more __REACTOS__ checks.  We dont need our GetConsoleWindow and it was never used.  The size of CMD_LENGTH is the same for both and at some point will not longer be used once we have all dynamic allocations.
Modified: trunk/reactos/subsys/system/cmd/cmd.h
Modified: trunk/reactos/subsys/system/cmd/misc.c

Modified: trunk/reactos/subsys/system/cmd/cmd.h
--- trunk/reactos/subsys/system/cmd/cmd.h	2005-10-18 01:55:20 UTC (rev 18547)
+++ trunk/reactos/subsys/system/cmd/cmd.h	2005-10-18 03:12:49 UTC (rev 18548)
@@ -43,12 +43,7 @@
 
 
 /* command line buffer length */
-#ifdef __REACTOS__
 #define CMDLINE_LENGTH  8192
-#else
-#define CMDLINE_LENGTH  8192
-//#define CMDLINE_LENGTH  1024
-#endif
 
 /* global variables */
 extern HANDLE hOut;
@@ -305,9 +300,6 @@
 BOOL   IsExistingFile (LPCTSTR);
 BOOL   IsExistingDirectory (LPCTSTR);
 BOOL   FileGetString (HANDLE, LPTSTR, INT);
-#ifndef __REACTOS__
-HWND   GetConsoleWindow(VOID);
-#endif
 
 #define PROMPT_NO    0
 #define PROMPT_YES   1

Modified: trunk/reactos/subsys/system/cmd/misc.c
--- trunk/reactos/subsys/system/cmd/misc.c	2005-10-18 01:55:20 UTC (rev 18547)
+++ trunk/reactos/subsys/system/cmd/misc.c	2005-10-18 03:12:49 UTC (rev 18548)
@@ -400,40 +400,6 @@
 	return TRUE;
 }
 
-#ifndef __REACTOS__
-/*
- * GetConsoleWindow - returns the handle to the current console window
- */
-HWND GetConsoleWindow (VOID)
-{
-	TCHAR original[256];
-	TCHAR temp[256];
-	HWND h=0;
-
-	if(h)
-		return h;
-
-	GetConsoleTitle (original, sizeof(original) / sizeof(TCHAR));
-
-	_tcscpy (temp, original);
-	_tcscat (temp, _T("-xxx   "));
-
-	if (FindWindow (0, temp) == NULL )
-	{
-		SetConsoleTitle (temp);
-		Sleep (0);
-
-		while(!(h = FindWindow (0, temp)))
-			;
-
-		SetConsoleTitle (original);
-	}
-
-	return h;
-}
-#endif
-
-
 INT PagePrompt (VOID)
 {
 	INPUT_RECORD ir;