mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:45:41 +00:00
- Update debug.h
svn path=/trunk/; revision=20724
This commit is contained in:
parent
66f4ffc0fd
commit
81b68f28dc
1 changed files with 4 additions and 3 deletions
|
@ -21,10 +21,11 @@
|
||||||
#define CHECKED
|
#define CHECKED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* Define DbgPrint/RtlAssert unless the NDK is used */
|
/* Define DbgPrint/RtlAssert unless the NDK is used */
|
||||||
#if !defined(_NTNDK_) && (!defined(_NTDDK_) || !defined(__NTDDK_H))
|
#if !defined(_NTNDK_) && (!defined(_NTDDK_) || !defined(__NTDDK_H))
|
||||||
|
|
||||||
|
/* Make sure we have basic types (some people include us *before* SDK... */
|
||||||
|
#if defined(_NTDEF_) || (defined _WINDEF_) || (defined _WINDEF_H)
|
||||||
ULONG
|
ULONG
|
||||||
__cdecl
|
__cdecl
|
||||||
DbgPrint(
|
DbgPrint(
|
||||||
|
@ -40,8 +41,8 @@ RtlAssert(
|
||||||
ULONG LineNumber,
|
ULONG LineNumber,
|
||||||
PCHAR Message
|
PCHAR Message
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef assert
|
#ifndef assert
|
||||||
|
@ -85,7 +86,7 @@ RtlAssert(
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
static __inline void DPRINT ( const char* fmt, ... )
|
static __inline void DPRINT ( const char* fmt, ... )
|
||||||
{
|
{
|
||||||
UNREFERENCED_PARAMETER(fmt);
|
//UNREFERENCED_PARAMETER(fmt);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
#define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue