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.
Modified: trunk/reactos/subsys/system/cmd/beep.c
Modified: trunk/reactos/subsys/system/cmd/cmdinput.c
Modified: trunk/reactos/subsys/system/cmd/filecomp.c
_____
Modified: trunk/reactos/subsys/system/cmd/beep.c
--- trunk/reactos/subsys/system/cmd/beep.c 2005-10-08 22:42:17 UTC
(rev 18366)
+++ trunk/reactos/subsys/system/cmd/beep.c 2005-10-08 23:59:48 UTC
(rev 18367)
@@ -43,11 +43,7 @@
if (bc == NULL)
return 1;
#endif
-#ifdef __REACTOS__
- Beep (440, 50);
-#else
MessageBeep (-1);
-#endif
return 0;
}
_____
Modified: trunk/reactos/subsys/system/cmd/cmdinput.c
--- trunk/reactos/subsys/system/cmd/cmdinput.c 2005-10-08 22:42:17 UTC
(rev 18366)
+++ trunk/reactos/subsys/system/cmd/cmdinput.c 2005-10-08 23:59:48 UTC
(rev 18367)
@@ -356,11 +356,7 @@
}
else
{
-#ifdef __REACTOS__
- Beep (440, 50);
-#else
MessageBeep (-1);
-#endif
}
#endif
#ifdef FEATURE_4NT_FILENAME_COMPLETION
@@ -478,11 +474,7 @@
}
else
{
-#ifdef __REACTOS__
- Beep (440, 50);
-#else
MessageBeep (-1);
-#endif
}
break;
@@ -555,11 +547,7 @@
#if 0
else
{
-#ifdef __REACTOS__
- Beep (440, 100);
-#else
MessageBeep (-1);
-#endif
}
#endif
break;
_____
Modified: trunk/reactos/subsys/system/cmd/filecomp.c
--- trunk/reactos/subsys/system/cmd/filecomp.c 2005-10-08 22:42:17 UTC
(rev 18366)
+++ trunk/reactos/subsys/system/cmd/filecomp.c 2005-10-08 23:59:48 UTC
(rev 18367)
@@ -171,11 +171,7 @@
if(!perfectmatch)
{
-#ifdef __REACTOS__
- Beep (440, 50);
-#else
MessageBeep (-1);
-#endif
}
}
else
@@ -193,11 +189,7 @@
}
}
-#ifdef __REACTOS__
- Beep (440, 50);
-#else
MessageBeep (-1);
-#endif
}
}
@@ -346,11 +338,7 @@
else
{
/* no match found */
-#ifdef __REACTOS__
- Beep (440, 50);
-#else
MessageBeep (-1);
-#endif
return FALSE;
}
Show replies by date