X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ce5dd35ebae68444e0faca73f087c63a8314a05..48c15d381c6368ac28822aa213040464f725907d:/src/common/regex.cpp diff --git a/src/common/regex.cpp b/src/common/regex.cpp index 44599dfa90..8983f98d02 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -49,7 +49,7 @@ #include "wx/regex.h" -#ifdef wxUSE_UNICODE +#if wxUSE_UNICODE #define regerror wx_regerror #define regfree wx_regfree #endif @@ -266,7 +266,7 @@ bool wxRegExImpl::Matches(const wxChar *str, int flags) const } // do match it -#ifdef wxUSE_UNICODE +#if wxUSE_UNICODE rm_detail_t rd; int rc = wx_regexec(&self->m_RegEx, str, wxStrlen(str), &rd, m_nMatches, m_Matches, flagsRE); #else