From 7031914e90e7dca40cc8f93025b3456f25c4eb89 Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Sat, 14 Nov 2015 14:00:29 +0000 Subject: [PATCH] [WDMAUD] Define NDEBUG before the includes, otherwise its a no-op. CORE-7716 svn path=/trunk/; revision=69885 --- reactos/dll/win32/wdmaud.drv/legacy.c | 3 +-- reactos/dll/win32/wdmaud.drv/mixer.c | 2 +- reactos/dll/win32/wdmaud.drv/mmixer.c | 2 +- reactos/dll/win32/wdmaud.drv/wdmaud.c | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/reactos/dll/win32/wdmaud.drv/legacy.c b/reactos/dll/win32/wdmaud.drv/legacy.c index 1cfa858f924..c731837ecaa 100644 --- a/reactos/dll/win32/wdmaud.drv/legacy.c +++ b/reactos/dll/win32/wdmaud.drv/legacy.c @@ -13,9 +13,8 @@ * */ -#include "wdmaud.h" - #define NDEBUG +#include "wdmaud.h" #include #define KERNEL_DEVICE_NAME L"\\\\.\\wdmaud" diff --git a/reactos/dll/win32/wdmaud.drv/mixer.c b/reactos/dll/win32/wdmaud.drv/mixer.c index e71846428bb..7ee6ca245b1 100644 --- a/reactos/dll/win32/wdmaud.drv/mixer.c +++ b/reactos/dll/win32/wdmaud.drv/mixer.c @@ -7,12 +7,12 @@ * PROGRAMMERS: Johannes Anderwald */ +#define NDEBUG #include "wdmaud.h" #include #include -#define NDEBUG #include extern HANDLE KernelHandle; diff --git a/reactos/dll/win32/wdmaud.drv/mmixer.c b/reactos/dll/win32/wdmaud.drv/mmixer.c index 076c78cefa6..f77ef1986f2 100644 --- a/reactos/dll/win32/wdmaud.drv/mmixer.c +++ b/reactos/dll/win32/wdmaud.drv/mmixer.c @@ -7,13 +7,13 @@ * PROGRAMMERS: Johannes Anderwald */ +#define NDEBUG #include "wdmaud.h" #include #include #include -#define NDEBUG #include typedef struct diff --git a/reactos/dll/win32/wdmaud.drv/wdmaud.c b/reactos/dll/win32/wdmaud.drv/wdmaud.c index 509faadee23..0494cc6235a 100644 --- a/reactos/dll/win32/wdmaud.drv/wdmaud.c +++ b/reactos/dll/win32/wdmaud.drv/wdmaud.c @@ -12,9 +12,9 @@ * */ +#define NDEBUG #include "wdmaud.h" -#define NDEBUG #include #ifndef USE_MMIXER_LIB