X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/532d575bd9baedbbf1c52907a66255975f527530..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/debug.h?ds=sidebyside diff --git a/include/wx/debug.h b/include/wx/debug.h index c944baba82..c2fc985ec2 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -198,7 +198,7 @@ It may be used both within a function and in the global scope. */ -#ifdef __WATCOMC__ +#if defined(__WATCOMC__) && defined(__cplusplus) /* avoid "unused symbol" warning */ #define wxCOMPILE_TIME_ASSERT(expr, msg) \ class wxMAKE_UNIQUE_ASSERT_NAME { \ @@ -249,4 +249,3 @@ #endif /* __cplusplus */ #endif /* _WX_DEBUG_H_ */ -