Always check for wide char IO functions, they are used regardless of wxUSE_UNICODE setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -30050,8 +30050,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
|||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
|
|
||||||
|
|
||||||
if test "$wxUSE_UNICODE" = yes; then
|
|
||||||
|
|
||||||
wchar_headers="#include <stdio.h>
|
wchar_headers="#include <stdio.h>
|
||||||
#include <wchar.h>"
|
#include <wchar.h>"
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
@@ -30155,7 +30153,6 @@ else
|
|||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
fi
|
fi
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$wxUSE_FILE" = "yes"; then
|
if test "$wxUSE_FILE" = "yes"; then
|
||||||
|
|
||||||
|
@@ -4273,8 +4273,6 @@ if test "$ac_cv_func_vsscanf" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
AC_LANG_POP()
|
AC_LANG_POP()
|
||||||
|
|
||||||
if test "$wxUSE_UNICODE" = yes; then
|
|
||||||
|
|
||||||
dnl also look if we have wide char IO functions, notice that [f]putws are
|
dnl also look if we have wide char IO functions, notice that [f]putws are
|
||||||
dnl declared in special widec.h under Solaris
|
dnl declared in special widec.h under Solaris
|
||||||
wchar_headers="#include <stdio.h>
|
wchar_headers="#include <stdio.h>
|
||||||
@@ -4300,7 +4298,6 @@ if test "$wxUSE_UNICODE" = yes; then
|
|||||||
[AC_MSG_RESULT([yes])
|
[AC_MSG_RESULT([yes])
|
||||||
AC_DEFINE(HAVE__VSNWPRINTF)],
|
AC_DEFINE(HAVE__VSNWPRINTF)],
|
||||||
[AC_MSG_RESULT([no])]);
|
[AC_MSG_RESULT([no])]);
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$wxUSE_FILE" = "yes"; then
|
if test "$wxUSE_FILE" = "yes"; then
|
||||||
WX_CHECK_FUNCS(fsync)
|
WX_CHECK_FUNCS(fsync)
|
||||||
|
@@ -202,7 +202,7 @@
|
|||||||
so on but not all systems have them so use our own implementations in this
|
so on but not all systems have them so use our own implementations in this
|
||||||
case.
|
case.
|
||||||
*/
|
*/
|
||||||
#if wxUSE_UNICODE && !defined(wxHAVE_TCHAR_SUPPORT) && !defined(HAVE_WPRINTF)
|
#if !defined(wxHAVE_TCHAR_SUPPORT) && !defined(HAVE_WPRINTF)
|
||||||
#define wxNEED_WPRINTF
|
#define wxNEED_WPRINTF
|
||||||
#endif
|
#endif
|
||||||
#if !defined(wxHAVE_TCHAR_SUPPORT) && !defined(HAVE_VSWSCANF)
|
#if !defined(wxHAVE_TCHAR_SUPPORT) && !defined(HAVE_VSWSCANF)
|
||||||
|
Reference in New Issue
Block a user