diff --git a/src/app/options.h b/src/app/options.h index 53cdb7c61..9f734f0e6 100644 --- a/src/app/options.h +++ b/src/app/options.h @@ -341,6 +341,8 @@ extern const QString in_Oprt; } \ #endif /* Q_OS_WIN32 */ +#else // define but disable this function if debugging is not set +#define SCASSERT(cond) #endif /* QT_NO_DEBUG */ #endif // OPTIONS_H