Removed configure check for mbstate_t and uses of it.
This commit is contained in:
parent
17e8ba2dbd
commit
ca984acb91
|
@ -56,7 +56,6 @@ AC_TYPE_SIZE_T
|
|||
|
||||
dnl checks for structures
|
||||
AC_STRUCT_TM
|
||||
AC_CHECK_TYPES(mbstate_t,,,[#include <cwchar>])
|
||||
|
||||
dnl checks for compiler characteristics
|
||||
AC_CHECK_SIZEOF(char, 1)
|
||||
|
|
|
@ -75,19 +75,11 @@ setError(bool* errors)
|
|||
//
|
||||
|
||||
#if WINDOWS_LIKE
|
||||
#define HAVE_MBSTATE_T 1
|
||||
#define HAVE_MBSINIT 1
|
||||
#define HAVE_MBRTOWC 1
|
||||
#define HAVE_WCRTOMB 1
|
||||
#endif
|
||||
|
||||
#if !HAVE_MBSTATE_T
|
||||
struct mbstate_t { int m_dummy; };
|
||||
#undef HAVE_MBSINIT
|
||||
#undef HAVE_MBRTOWC
|
||||
#undef HAVE_WCRTOMB
|
||||
#endif
|
||||
|
||||
#if !HAVE_MBSINIT
|
||||
static
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue