use built-in wcslen instead of disabling wide character support for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
62f17a1864
commit
a1ea505561
@ -2781,7 +2781,12 @@ if test "$WCHAR_OK" = 1; then
|
|||||||
dnl libc versions if possible
|
dnl libc versions if possible
|
||||||
AC_CHECK_FUNCS(wcsrtombs)
|
AC_CHECK_FUNCS(wcsrtombs)
|
||||||
else
|
else
|
||||||
|
dnl use built-in wcslen for Darwin (what about other BSD based systems?)
|
||||||
|
if test "$USE_DARWIN" = 1; then
|
||||||
|
AC_DEFINE(wxUSE_WCHAR_T)
|
||||||
|
else
|
||||||
AC_MSG_WARN([Wide character support is unavailable])
|
AC_MSG_WARN([Wide character support is unavailable])
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl check for vprintf/vsprintf() which are GNU extensions
|
dnl check for vprintf/vsprintf() which are GNU extensions
|
||||||
|
Loading…
Reference in New Issue
Block a user