19 lines
439 B
C
19 lines
439 B
C
#include <ctype.h>
|
|
|
|
#if (defined(__GNUC__) && !defined(__CHAR_UNSIGNED__) && !defined(COMPACT_CTYPE)) || defined (__CYGWIN__)
|
|
#define ALLOW_NEGATIVE_CTYPE_INDEX
|
|
#endif
|
|
|
|
#ifdef ALLOW_NEGATIVE_CTYPE_INDEX
|
|
|
|
extern char _ctype_b[];
|
|
# define DEFAULT_CTYPE_PTR ((char *) _ctype_b + 127)
|
|
|
|
#else /* !ALLOW_NEGATIVE_CTYPE_INDEX */
|
|
|
|
extern char _ctype_[];
|
|
# define DEFAULT_CTYPE_PTR ((char *) _ctype_)
|
|
|
|
#endif /* !ALLOW_NEGATIVE_CTYPE_INDEX */
|
|
|