summaryrefslogtreecommitdiff
path: root/firmware/include/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/ctype.h')
-rw-r--r--firmware/include/ctype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/ctype.h b/firmware/include/ctype.h
index b6d8a43492..c72a256e4b 100644
--- a/firmware/include/ctype.h
+++ b/firmware/include/ctype.h
@@ -36,7 +36,11 @@ int _EXFUN(_toupper, (int __c));
36#define _X 0100 36#define _X 0100
37#define _B 0200 37#define _B 0200
38 38
39#ifdef PLUGIN
40#define _ctype_ (rb->_ctype_)
41#else
39extern char _ctype_[]; 42extern char _ctype_[];
43#endif
40 44
41#ifndef __cplusplus 45#ifndef __cplusplus
42#define isalpha(c) ((_ctype_+1)[(unsigned)(c)]&(_U|_L)) 46#define isalpha(c) ((_ctype_+1)[(unsigned)(c)]&(_U|_L))