Don't define NDEBUG in the .rbuild file, but before the inclusion of debug.h (like...
authorColin Finck <colin@reactos.org>
Tue, 26 Feb 2008 16:00:00 +0000 (16:00 +0000)
committerColin Finck <colin@reactos.org>
Tue, 26 Feb 2008 16:00:00 +0000 (16:00 +0000)
svn path=/trunk/; revision=32494

reactos/drivers/input/kbdclass/kbdclass.h
reactos/drivers/input/kbdclass/kbdclass.rbuild
reactos/drivers/input/mouclass/mouclass.h
reactos/drivers/input/mouclass/mouclass.rbuild

index b62f24e..1a015f4 100644 (file)
@@ -3,6 +3,8 @@
 #include <ntddkbd.h>
 #include <stdio.h>
 #include <pseh/pseh.h>
 #include <ntddkbd.h>
 #include <stdio.h>
 #include <pseh/pseh.h>
+
+#define NDEBUG
 #include <debug.h>
 
 #define MAX_PATH 260
 #include <debug.h>
 
 #define MAX_PATH 260
index 743c06e..3cfc9f1 100644 (file)
@@ -2,7 +2,6 @@
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="kbdclass" type="kernelmodedriver" installbase="system32/drivers" installname="kbdclass.sys">
        <bootstrap installbase="$(CDOUTPUT)" />
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="kbdclass" type="kernelmodedriver" installbase="system32/drivers" installname="kbdclass.sys">
        <bootstrap installbase="$(CDOUTPUT)" />
-       <define name="NDEBUG" />
        <library>pseh</library>
        <library>ntoskrnl</library>
        <library>hal</library>
        <library>pseh</library>
        <library>ntoskrnl</library>
        <library>hal</library>
index feba1b0..2f5ac76 100644 (file)
@@ -3,6 +3,8 @@
 #include <ntddkbd.h>
 #include <stdio.h>
 #include <pseh/pseh.h>
 #include <ntddkbd.h>
 #include <stdio.h>
 #include <pseh/pseh.h>
+
+#define NDEBUG
 #include <debug.h>
 
 #define MAX_PATH 260
 #include <debug.h>
 
 #define MAX_PATH 260
index 826f048..1b75a01 100644 (file)
@@ -2,7 +2,6 @@
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="mouclass" type="kernelmodedriver" installbase="system32/drivers" installname="mouclass.sys">
        <include base="mouclass">.</include>
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="mouclass" type="kernelmodedriver" installbase="system32/drivers" installname="mouclass.sys">
        <include base="mouclass">.</include>
-       <define name="NDEBUG" />
        <library>pseh</library>
        <library>ntoskrnl</library>
        <library>hal</library>
        <library>pseh</library>
        <library>ntoskrnl</library>
        <library>hal</library>