define _INCLUDE__STDC_A1_SOURCE for HP-UX, it is apparently needed to get mbtowcs() &c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3587,6 +3587,11 @@ if test "$wx_cv_sizeof_wchar_t" != "0"; then
|
|||||||
AC_DEFINE(HAVE_WCSLEN)
|
AC_DEFINE(HAVE_WCSLEN)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl HP-UX aCC needs this define to find mbstrtowcs() &c
|
||||||
|
if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
|
||||||
|
CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
|
||||||
|
fi
|
||||||
|
|
||||||
dnl try to use wcsrtombs instead of wcstombs which is buggy in old GNU
|
dnl try to use wcsrtombs instead of wcstombs which is buggy in old GNU
|
||||||
dnl libc versions if possible
|
dnl libc versions if possible
|
||||||
AC_CHECK_FUNCS(wcsrtombs)
|
AC_CHECK_FUNCS(wcsrtombs)
|
||||||
|
Reference in New Issue
Block a user