compilation fixes for some cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,9 +58,9 @@
|
|||||||
# define WXREGEX_USING_BUILTIN
|
# define WXREGEX_USING_BUILTIN
|
||||||
# define WXREGEX_IF_NEED_LEN(x) ,x
|
# define WXREGEX_IF_NEED_LEN(x) ,x
|
||||||
# if wxUSE_UNICODE
|
# if wxUSE_UNICODE
|
||||||
# define WXREGEX_CHAR(x) x.wc_str()
|
# define WXREGEX_CHAR(x) (x).wc_str()
|
||||||
# else
|
# else
|
||||||
# define WXREGEX_CHAR(x) x.mb_str()
|
# define WXREGEX_CHAR(x) (x).mb_str()
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# ifdef HAVE_RE_SEARCH
|
# ifdef HAVE_RE_SEARCH
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
# if wxUSE_UNICODE
|
# if wxUSE_UNICODE
|
||||||
# define WXREGEX_CONVERT_TO_MB
|
# define WXREGEX_CONVERT_TO_MB
|
||||||
# endif
|
# endif
|
||||||
# define WXREGEX_CHAR(x) x.mb_str()
|
# define WXREGEX_CHAR(x) (x).mb_str()
|
||||||
# define wx_regfree regfree
|
# define wx_regfree regfree
|
||||||
# define wx_regerror regerror
|
# define wx_regerror regerror
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user