mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:35:53 +00:00
[MMEBUDDY][MMIXER] Fix NDEBUG support (#7039)
- Remove unwanted value. - Use add_compile_definitions(). - NDEBUG "depends" on DBG.
This commit is contained in:
parent
c1c91f2a1a
commit
c7a4984595
3 changed files with 9 additions and 6 deletions
|
@ -13,7 +13,7 @@
|
|||
MessageBox(0, dbg_popup_msg, dbg_popup_title, MB_OK | MB_TASKMODAL); \
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
#if DBG && !defined(NDEBUG)
|
||||
#define SND_ERR(...) \
|
||||
{ \
|
||||
WCHAR dbg_popup_msg[1024]; \
|
||||
|
@ -55,7 +55,6 @@
|
|||
CurrDumpHdr = CurrDumpHdr->lpNext; \
|
||||
} \
|
||||
}
|
||||
|
||||
#else
|
||||
#define SND_ERR(...) do {} while ( 0 )
|
||||
#define SND_WARN(...) do {} while ( 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue