[USBPORT] Add USB2_GetLastIsoTime().
[reactos.git] / drivers / usb / usbohci_new / dbg_ohci.h
1 #ifndef DBG_OHCI_H__
2 #define DBG_OHCI_H__
3
4 #if DBG
5
6 #ifndef NDEBUG_OHCI_TRACE
7 #define DPRINT_OHCI(fmt, ...) do { \
8 if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
9 DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
10 } while (0)
11 #else
12 #if defined(_MSC_VER)
13 #define DPRINT_OHCI __noop
14 #else
15 #define DPRINT_OHCI(...) do {if(0) {DbgPrint(__VA_ARGS__);}} while(0)
16 #endif
17 #endif
18
19 #else /* not DBG */
20
21 #if defined(_MSC_VER)
22 #define DPRINT_OHCI __noop
23 #else
24 #define DPRINT_OHCI(...) do {if(0) {DbgPrint(__VA_ARGS__);}} while(0)
25 #endif /* _MSC_VER */
26
27 #endif /* not DBG */
28
29 #endif /* DBG_OHCI_H__ */