- Undefine KdPrint before redefining it.

svn path=/trunk/; revision=35626
This commit is contained in:
Stefan Ginsberg 2008-08-25 13:42:17 +00:00
parent d1813375f5
commit 8dbbc041c3

View file

@ -138,6 +138,10 @@ ScsiDebugPrint(
#else // _DEBUG
#ifdef KdPrint
#undef KdPrint
#endif
#define PRINT_PREFIX "UniATA: "
//#define KdPrint3(_x_) {if(LOG_ON_RAISED_IRQL_W2K || MajorVersion < 0x05 || KeGetCurrentIrql() <= 2){/*DbgPrint("%x: ", PsGetCurrentThread()) ;*/ DbgPrint _x_ ; if(g_LogToDisplay){ PrintNtConsole _x_ ;} }}