Really fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case.

Fix the fix of r71502, we need the variable declaration when not using
HAVE_VARIADIC_MACROS.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-05-20 19:47:32 +00:00
parent 9e0fc31c31
commit e779f09357

View File

@@ -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();