Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
520 bytes
|
Line | |
---|
1 | #include <ctype.h> |
---|
2 | |
---|
3 | #if (defined(__GNUC__) && !defined(__CHAR_UNSIGNED__) && !defined(COMPACT_CTYPE)) || defined (__CYGWIN__) |
---|
4 | #define ALLOW_NEGATIVE_CTYPE_INDEX |
---|
5 | #endif |
---|
6 | |
---|
7 | #ifdef ALLOW_NEGATIVE_CTYPE_INDEX |
---|
8 | |
---|
9 | #ifndef __CYGWIN__ |
---|
10 | extern const char _ctype_b[]; |
---|
11 | #else |
---|
12 | extern char _ctype_b[]; |
---|
13 | #endif |
---|
14 | # define DEFAULT_CTYPE_PTR ((char *) _ctype_b + 127) |
---|
15 | |
---|
16 | #else /* !ALLOW_NEGATIVE_CTYPE_INDEX */ |
---|
17 | |
---|
18 | /* _ctype_ is declared in <ctype.h>. */ |
---|
19 | # define DEFAULT_CTYPE_PTR ((char *) _ctype_) |
---|
20 | |
---|
21 | #endif /* !ALLOW_NEGATIVE_CTYPE_INDEX */ |
---|
22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.