Changeset 38112 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/debug.h
- Timestamp:
- Jul 22, 2011 1:26:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/debug.h
r33656 r38112 37 37 #endif 38 38 39 #ifdef VBOX_WITH_WDDM 40 # ifdef VBOX_WINE_WITH_IPRT 41 # include <iprt/assert.h> 42 # else 43 # define AssertBreakpoint() do { } while (0) 44 # define Assert(_expr) do { } while (0) 45 # define RT_BREAKPOINT() 46 # endif 47 #endif 48 39 49 #ifdef __WINE_WINE_TEST_H 40 50 #error This file should not be used in Wine tests … … 75 85 #ifndef WINE_NO_DEBUG_MSGS 76 86 # define __WINE_GET_DEBUGGING_WARN(dbch) ((dbch)->flags & (1 << __WINE_DBCL_WARN)) 77 # define __WINE_GET_DEBUGGING_FIXME(dbch) ((dbch)->flags & (1 << __WINE_DBCL_FIXME)) 87 # if defined(VBOX_WITH_WDDM) && defined(DEBUG_misha) 88 # define __WINE_GET_DEBUGGING_FIXME(dbch) (RT_BREAKPOINT(), ((dbch)->flags & (1 << __WINE_DBCL_FIXME))) 89 # else 90 # define __WINE_GET_DEBUGGING_FIXME(dbch) ((dbch)->flags & (1 << __WINE_DBCL_FIXME)) 91 # endif 78 92 #else 79 93 # define __WINE_GET_DEBUGGING_WARN(dbch) 0 80 # define __WINE_GET_DEBUGGING_FIXME(dbch) 0 94 # if defined(VBOX_WITH_WDDM) && defined(DEBUG_misha) 95 # define __WINE_GET_DEBUGGING_FIXME(dbch) (RT_BREAKPOINT(), 0) 96 # else 97 # define __WINE_GET_DEBUGGING_FIXME(dbch) 0 98 # endif 81 99 #endif 82 100 83 101 /* define error macro regardless of what is configured */ 102 #if defined(VBOX_WITH_WDDM) && defined(DEBUG_misha) 103 #define __WINE_GET_DEBUGGING_ERR(dbch) (RT_BREAKPOINT(), ((dbch)->flags & (1 << __WINE_DBCL_ERR))) 104 #else 84 105 #define __WINE_GET_DEBUGGING_ERR(dbch) ((dbch)->flags & (1 << __WINE_DBCL_ERR)) 106 #endif 85 107 86 108 #define __WINE_GET_DEBUGGING(dbcl,dbch) __WINE_GET_DEBUGGING##dbcl(dbch)
Note:
See TracChangeset
for help on using the changeset viewer.