X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c564ca3c975aba89f8b911ace0f240c0aaf4cf73..f5406730ffdde05e710a68367ac45c15a11c00bc:/src/common/markupparser.cpp diff --git a/src/common/markupparser.cpp b/src/common/markupparser.cpp index 929543c0a7..c0580e242f 100644 --- a/src/common/markupparser.cpp +++ b/src/common/markupparser.cpp @@ -284,7 +284,7 @@ bool wxMarkupParser::Parse(const wxString& text) // and doesn't need to be defined if they're not compiled // at all (it actually would result in unused variable // messages in this case). -#if wxUSE_LOG_DEBUG && defined(HAVE_VARIADIC_MACROS) +#if wxUSE_LOG_DEBUG || !defined(HAVE_VARIADIC_MACROS) // Remember the tag starting position for the error // messages. const size_t pos = it - text.begin();