mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
Be W32API friendly.
svn path=/trunk/; revision=16009
This commit is contained in:
parent
d143eebd0f
commit
a8f8cec2a4
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
|
|
||||||
|
#ifndef __USE_W32API
|
||||||
/* Assert only on "checked" version */
|
/* Assert only on "checked" version */
|
||||||
#ifndef NASSERT
|
#ifndef NASSERT
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
@ -65,6 +66,7 @@
|
||||||
#define ASSERTMSG(_c_, _m_)
|
#define ASSERTMSG(_c_, _m_)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* !__USE_W32API */
|
||||||
|
|
||||||
/* Print if using a "checked" version */
|
/* Print if using a "checked" version */
|
||||||
#ifdef __GNUC__ /* using GNU C/C99 macro ellipsis */
|
#ifdef __GNUC__ /* using GNU C/C99 macro ellipsis */
|
||||||
|
@ -83,10 +85,12 @@
|
||||||
|
|
||||||
#define CPRINT(args...)
|
#define CPRINT(args...)
|
||||||
#define DPRINT1(args...)
|
#define DPRINT1(args...)
|
||||||
|
#ifndef __USE_W32API
|
||||||
#define assert(x)
|
#define assert(x)
|
||||||
#define ASSERT(x)
|
#define ASSERT(x)
|
||||||
#define assertmsg(_c_, _m_)
|
#define assertmsg(_c_, _m_)
|
||||||
#define ASSERTMSG(_c_, _m_)
|
#define ASSERTMSG(_c_, _m_)
|
||||||
|
#endif /* !__USE_W32API */
|
||||||
|
|
||||||
#endif /* DBG */
|
#endif /* DBG */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue