- Update debug.h
Modified: trunk/reactos/include/reactos/debug.h
_____
Modified: trunk/reactos/include/reactos/debug.h
--- trunk/reactos/include/reactos/debug.h 2006-01-08 19:33:06 UTC
(rev 20723)
+++ trunk/reactos/include/reactos/debug.h 2006-01-08 19:50:52 UTC
(rev 20724)
@@ -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,9 +41,9 @@
ULONG LineNumber,
PCHAR Message
);
+#endif
#endif
-#endif
#ifndef assert
#ifndef NASSERT
@@ -85,7 +86,7 @@
#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)