From 96d70479d0ad177f215cf9cdde93c3128ebbb703 Mon Sep 17 00:00:00 2001 From: Brandon Turner Date: Sat, 8 Oct 2005 23:59:48 +0000 Subject: [PATCH] start of removing #ifdef __Reactos__ in cmd. __Reactos__ = 1 works fine on windows and __Reactos__ = 0 hasnt built since i started working on cmd, making it pointless. svn path=/trunk/; revision=18367 --- reactos/subsys/system/cmd/beep.c | 4 ---- reactos/subsys/system/cmd/cmdinput.c | 12 ------------ reactos/subsys/system/cmd/filecomp.c | 12 ------------ 3 files changed, 28 deletions(-) diff --git a/reactos/subsys/system/cmd/beep.c b/reactos/subsys/system/cmd/beep.c index 27916b5ab54..61537ed5cc4 100644 --- a/reactos/subsys/system/cmd/beep.c +++ b/reactos/subsys/system/cmd/beep.c @@ -43,11 +43,7 @@ INT cmd_beep (LPTSTR cmd, LPTSTR param) if (bc == NULL) return 1; #endif -#ifdef __REACTOS__ - Beep (440, 50); -#else MessageBeep (-1); -#endif return 0; } diff --git a/reactos/subsys/system/cmd/cmdinput.c b/reactos/subsys/system/cmd/cmdinput.c index d6c75d79b8a..8dd28127120 100644 --- a/reactos/subsys/system/cmd/cmdinput.c +++ b/reactos/subsys/system/cmd/cmdinput.c @@ -356,11 +356,7 @@ VOID ReadCommand (LPTSTR str, INT maxlen) } else { -#ifdef __REACTOS__ - Beep (440, 50); -#else MessageBeep (-1); -#endif } #endif #ifdef FEATURE_4NT_FILENAME_COMPLETION @@ -478,11 +474,7 @@ VOID ReadCommand (LPTSTR str, INT maxlen) } else { -#ifdef __REACTOS__ - Beep (440, 50); -#else MessageBeep (-1); -#endif } break; @@ -555,11 +547,7 @@ VOID ReadCommand (LPTSTR str, INT maxlen) #if 0 else { -#ifdef __REACTOS__ - Beep (440, 100); -#else MessageBeep (-1); -#endif } #endif break; diff --git a/reactos/subsys/system/cmd/filecomp.c b/reactos/subsys/system/cmd/filecomp.c index 40b2ed0b81d..1e174d3e3f7 100644 --- a/reactos/subsys/system/cmd/filecomp.c +++ b/reactos/subsys/system/cmd/filecomp.c @@ -171,11 +171,7 @@ VOID CompleteFilename (LPTSTR str, UINT charcount) if(!perfectmatch) { -#ifdef __REACTOS__ - Beep (440, 50); -#else MessageBeep (-1); -#endif } } else @@ -193,11 +189,7 @@ VOID CompleteFilename (LPTSTR str, UINT charcount) } } -#ifdef __REACTOS__ - Beep (440, 50); -#else MessageBeep (-1); -#endif } } @@ -346,11 +338,7 @@ BOOL ShowCompletionMatches (LPTSTR str, INT charcount) else { /* no match found */ -#ifdef __REACTOS__ - Beep (440, 50); -#else MessageBeep (-1); -#endif return FALSE; }