diff options
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index d4bf009e..40e12535 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -12,3 +12,22 @@ #define STDC_HEADERS 1 #cmakedefine LCMS_HEADER <@LCMS_HEADER@> #cmakedefine HAVE_FREETYPE_2_2_x 1 + +// kviewshell (djvu plugin) +#cmakedefine HAVE_WCHAR_T 1 +#cmakedefine HAVE_ISWSPACE 1 +#cmakedefine HAVE_WCRTOMB 1 +#cmakedefine HAVE_MBSTATE_T 1 +#if !defined(HAVE_WCHAR_T) + #define HAS_WCHAR 0 + #define HAS_WCTYPE 0 + #define HAS_MBSTATE 0 +#else + #define HAS_WCHAR 1 + #if defined(HAVE_WCTYPE_H) && defined(HAVE_ISWSPACE) + #define HAS_WCTYPE 1 + #endif + #if defined(HAVE_MBSTATE_T) && defined(HAVE_WCRTOMB) + #define HAS_MBSTATE 1 + #endif +#endif |