reactos/drivers/usb/usbohci_new/dbg_ohci.h
Amine Khaldi f2f2dd0552 [USBOHCI_NEW] Bring-in the USB OHCI miniport driver created by Vadim Galyant. (#244)
[USBOHCI_NEW] Add the new usbport-based OHCI driver.
2018-01-12 21:09:58 +01:00

29 lines
760 B
C

#ifndef DBG_OHCI_H__
#define DBG_OHCI_H__
#if DBG
#ifndef NDEBUG_OHCI_TRACE
#define DPRINT_OHCI(fmt, ...) do { \
if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
} while (0)
#else
#if defined(_MSC_VER)
#define DPRINT_OHCI __noop
#else
#define DPRINT_OHCI(...) do {if(0) {DbgPrint(__VA_ARGS__);}} while(0)
#endif
#endif
#else /* not DBG */
#if defined(_MSC_VER)
#define DPRINT_OHCI __noop
#else
#define DPRINT_OHCI(...) do {if(0) {DbgPrint(__VA_ARGS__);}} while(0)
#endif /* _MSC_VER */
#endif /* not DBG */
#endif /* DBG_OHCI_H__ */