From ca984acb91a7a9ee3d641ccc3886b0b8dbabce7e Mon Sep 17 00:00:00 2001 From: crs Date: Sun, 3 Nov 2002 18:20:21 +0000 Subject: [PATCH] Removed configure check for mbstate_t and uses of it. --- configure.in | 1 - lib/io/CUnicode.cpp | 8 -------- 2 files changed, 9 deletions(-) diff --git a/configure.in b/configure.in index 9d6b7b93..e18814fc 100644 --- a/configure.in +++ b/configure.in @@ -56,7 +56,6 @@ AC_TYPE_SIZE_T dnl checks for structures AC_STRUCT_TM -AC_CHECK_TYPES(mbstate_t,,,[#include ]) dnl checks for compiler characteristics AC_CHECK_SIZEOF(char, 1) diff --git a/lib/io/CUnicode.cpp b/lib/io/CUnicode.cpp index 0fe85dc3..040159f5 100644 --- a/lib/io/CUnicode.cpp +++ b/lib/io/CUnicode.cpp @@ -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