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