Changeset 6912 for trunk/include/odinwrap.h
- Timestamp:
- Oct 1, 2001, 3:30:13 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/odinwrap.h
r6893 r6912 57 57 58 58 // --------------------------------------------------------------------------- 59 extern unsigned long int WIN32API GetCurrentThreadId(); // kernel32 60 extern unsigned long int WIN32API dbg_GetThreadCallDepth(); // kernel32 61 extern void WIN32API dbg_IncThreadCallDepth(); // kernel32 62 extern void WIN32API dbg_DecThreadCallDepth(); // kernel32 59 #ifdef __WATCOMC__ 60 //this doens't work with watcom because doubly declared somewhere :-( 61 //extern unsigned long int WIN32API GetCurrentThreadId(void); // kernel32 62 #else 63 extern unsigned long int WIN32API GetCurrentThreadId(void); // kernel32 64 #endif 65 extern unsigned long int WIN32API dbg_GetThreadCallDepth(void); // kernel32 66 extern void WIN32API dbg_IncThreadCallDepth(void); // kernel32 67 extern void WIN32API dbg_DecThreadCallDepth(void); // kernel32 63 68 64 69 // --------------------------------------------------------------------------- … … 81 86 unsigned long ulElapsed; \ 82 87 QueryPerformanceCounter(&liStart); 83 84 88 89 85 90 # define PROFILE_STOP(a) \ 86 91 QueryPerformanceCounter(&liEnd);\ … … 114 119 dprintf(("WARNING: FS: for thread %08xh corrupted by "a, GetCurrentThreadId())); \ 115 120 } 116 117 121 122 118 123 /**************************************************************************** 119 124 * General Wrapper Macros (debug instrumented) * … … 706 711 707 712 #define FNPROLOGUE(a) \ 708 USHORT sel = GetFS(); 713 USHORT sel = GetFS(); 709 714 710 715 #define FNEPILOGUE(a) \
Note:
See TracChangeset
for help on using the changeset viewer.