Deleted Added
full compact
rlmbutil.h (157184) rlmbutil.h (165670)
1/* rlmbutil.h -- utility functions for multibyte characters. */
2
3/* Copyright (C) 2001 Free Software Foundation, Inc.
4
5 This file is part of the GNU Readline Library, a library for
6 reading lines of text with interactive input and history editing.
7
8 The GNU Readline Library is free software; you can redistribute it

--- 18 unchanged lines hidden (view full) ---

27
28/************************************************/
29/* check multibyte capability for I18N code */
30/************************************************/
31
32/* For platforms which support the ISO C amendement 1 functionality we
33 support user defined character classes. */
34 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
1/* rlmbutil.h -- utility functions for multibyte characters. */
2
3/* Copyright (C) 2001 Free Software Foundation, Inc.
4
5 This file is part of the GNU Readline Library, a library for
6 reading lines of text with interactive input and history editing.
7
8 The GNU Readline Library is free software; you can redistribute it

--- 18 unchanged lines hidden (view full) ---

27
28/************************************************/
29/* check multibyte capability for I18N code */
30/************************************************/
31
32/* For platforms which support the ISO C amendement 1 functionality we
33 support user defined character classes. */
34 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
35#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
35#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H) && defined (HAVE_LOCALE_H)
36# include <wchar.h>
37# include <wctype.h>
36# include <wchar.h>
37# include <wctype.h>
38# if defined (HAVE_MBSRTOWCS) && defined (HAVE_MBRTOWC) && defined (HAVE_MBRLEN) && defined (HAVE_WCWIDTH)
38# if defined (HAVE_ISWCTYPE) && \
39 defined (HAVE_ISWLOWER) && \
40 defined (HAVE_ISWUPPER) && \
41 defined (HAVE_MBSRTOWCS) && \
42 defined (HAVE_MBRTOWC) && \
43 defined (HAVE_MBRLEN) && \
44 defined (HAVE_TOWLOWER) && \
45 defined (HAVE_TOWUPPER) && \
46 defined (HAVE_WCHAR_T) && \
47 defined (HAVE_WCWIDTH)
39 /* system is supposed to support XPG5 */
40# define HANDLE_MULTIBYTE 1
41# endif
42#endif
43
44/* If we don't want multibyte chars even on a system that supports them, let
45 the configuring user turn multibyte support off. */
46#if defined (NO_MULTIBYTE_SUPPORT)

--- 100 unchanged lines hidden ---
48 /* system is supposed to support XPG5 */
49# define HANDLE_MULTIBYTE 1
50# endif
51#endif
52
53/* If we don't want multibyte chars even on a system that supports them, let
54 the configuring user turn multibyte support off. */
55#if defined (NO_MULTIBYTE_SUPPORT)

--- 100 unchanged lines hidden ---