[HIDPARSER]

* Do not include debug.h into the main header.
* Do not define NDEBUG globally.
CORE-7716

svn path=/trunk/; revision=61495
This commit is contained in:
Amine Khaldi 2014-01-03 10:28:56 +00:00
parent 127d03729b
commit 2e1e78c234
6 changed files with 13 additions and 10 deletions

View file

@ -1,7 +1,5 @@
add_definitions(
-DUNICODE -D_UNICODE
-DNDEBUG)
add_definitions(-DUNICODE -D_UNICODE)
list(APPEND SOURCE
context.c

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "parser.h"
#define NDEBUG
#include <debug.h>
static ULONG KeyboardScanCodes[256] =
{ /* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
/* 0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x001e, 0x0030, 0x002e, 0x0020, 0x0012, 0x0021, 0x0022, 0x0023, 0x0017, 0x0024, 0x0025, 0x0026,

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "parser.h"
#define NDEBUG
#include <debug.h>
typedef struct
{
ULONG Size;

View file

@ -10,6 +10,9 @@
#include "parser.h"
#define NDEBUG
#include <debug.h>
NTSTATUS
TranslateHidParserStatus(
IN HIDPARSER_STATUS Status)

View file

@ -15,10 +15,6 @@
#include <ntddk.h>
#include <hidpddi.h>
#include <hidpi.h>
#ifndef NDEBUG
#define NDEBUG
#endif
#include <debug.h>
//
// function prototypes

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "parser.h"
#define NDEBUG
#include <debug.h>
static UCHAR ItemSize[4] = { 0, 1, 2, 4 };
VOID