Cygwin: profiler: Fix linking when building with -DDEBUGGING
CloseHandle gets redefined to a macro calling an internal function in debug.h when building with -DDEBUGGING, but profiler has no access to that function. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
c1f8a7b502
commit
1b3a0effd4
|
@ -39,6 +39,11 @@ typedef uint16_t u_int16_t; // Non-standard sized type needed by ancient gmon.h
|
||||||
#undef ExitThread
|
#undef ExitThread
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Undo this #define from debug.h. */
|
||||||
|
#ifdef CloseHandle
|
||||||
|
#undef CloseHandle
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SCALE_SHIFT 2 // == 4 bytes of address space per bucket
|
#define SCALE_SHIFT 2 // == 4 bytes of address space per bucket
|
||||||
#define MS_VC_EXCEPTION 0x406D1388 // thread name notification from child
|
#define MS_VC_EXCEPTION 0x406D1388 // thread name notification from child
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue