- Use ntdefs constants over limits.h constants
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 1 Feb 2007 23:13:02 +0000 (23:13 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 1 Feb 2007 23:13:02 +0000 (23:13 +0000)
svn path=/trunk/; revision=25678

reactos/drivers/base/beep/beep.c

index 53062ca..cb21fac 100644 (file)
@@ -14,7 +14,6 @@
 
 #include <ntddk.h>
 #include <ntddbeep.h>
-#include <limits.h>
 
 #define NDEBUG
 #include <debug.h>
@@ -200,7 +199,7 @@ BeepDeviceControl(PDEVICE_OBJECT DeviceObject,
                            FALSE,
                            NULL);
     }
-  else if (BeepParam->Duration == ULONG_MAX)
+  else if (BeepParam->Duration == MAXULONG)
     {
       if (DeviceExtension->BeepOn == TRUE)
        {