From 2f1f520151425b67e8709030d1dfdcd81707c866 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Mon, 3 Feb 2020 22:32:01 +0800 Subject: [PATCH] _REGION_DEBUG -> _DEBUG_REGION --- src/include/cliprect.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/include/cliprect.h b/src/include/cliprect.h index d6e9c4f1..36a5f2dc 100644 --- a/src/include/cliprect.h +++ b/src/include/cliprect.h @@ -52,9 +52,7 @@ #ifndef GUI_CLIPRECT_H #define GUI_CLIPRECT_H -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +#undef _DEBUG_REGION typedef struct tagGCRINFO { @@ -84,9 +82,11 @@ typedef INVRGN* PINVRGN; SetClipRgn(rgn, &rc); \ } while (0) -#undef _REGION_DEBUG +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ -#ifdef _REGION_DEBUG +#ifdef _DEBUG_REGION void dbg_dumpRegion (CLIPRGN* region); #endif