From 0c458c043a2e95cfed15d143ff0053b44b6a425c Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 13 Jul 2004 14:01:41 +0000 Subject: The plugin API now supports ctype macros like tolower() and friends git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/ctype.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware') 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)); #define _X 0100 #define _B 0200 +#ifdef PLUGIN +#define _ctype_ (rb->_ctype_) +#else extern char _ctype_[]; +#endif #ifndef __cplusplus #define isalpha(c) ((_ctype_+1)[(unsigned)(c)]&(_U|_L)) -- cgit v1.2.3