mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-25 01:42:24 -05:00
sys: DEBUGBREAK
This commit is contained in:
parent
215f5679b8
commit
9c7d9c5944
@ -40,12 +40,12 @@
|
||||
|
||||
/* DEBUGBREAK */
|
||||
#if DBG
|
||||
extern __declspec(selectany) int bpglobal = 1;
|
||||
extern __declspec(selectany) int fsp_bp = 1;
|
||||
#define DEBUGBREAK() \
|
||||
do \
|
||||
{ \
|
||||
static int bp = 1; \
|
||||
if (bp && bpglobal && !KD_DEBUGGER_NOT_PRESENT)\
|
||||
if (bp && fsp_bp && !KD_DEBUGGER_NOT_PRESENT)\
|
||||
DbgBreakPoint(); \
|
||||
} while (0,0)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user