From 81b68f28dc3439dcdac573376ef1296231bdc606 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sun, 8 Jan 2006 19:50:52 +0000 Subject: [PATCH] - Update debug.h svn path=/trunk/; revision=20724 --- reactos/include/reactos/debug.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/include/reactos/debug.h b/reactos/include/reactos/debug.h index 852d3f8f921..21ad7846d17 100644 --- a/reactos/include/reactos/debug.h +++ b/reactos/include/reactos/debug.h @@ -21,10 +21,11 @@ #define CHECKED #endif -#if 0 /* Define DbgPrint/RtlAssert unless the NDK is used */ #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 __cdecl DbgPrint( @@ -40,8 +41,8 @@ RtlAssert( ULONG LineNumber, PCHAR Message ); - #endif + #endif #ifndef assert @@ -85,7 +86,7 @@ RtlAssert( #ifdef _MSC_VER static __inline void DPRINT ( const char* fmt, ... ) { - UNREFERENCED_PARAMETER(fmt); + //UNREFERENCED_PARAMETER(fmt); } #else #define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)