+ harbour/include/hbfixdj.h
+ I missed to add this file in my last commit - it's borrowed from
xHarbour.
* harbour/source/rtl/filesys.c
! fixed DJGPP compilation I broke
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/*
|
|
* $Id$
|
|
*/
|
|
|
|
|
|
#ifdef __dj_include_inline_ctype_ha_
|
|
|
|
#undef isalnum
|
|
#undef isalpha
|
|
#undef iscntrl
|
|
#undef isdigit
|
|
#undef isgraph
|
|
#undef islower
|
|
#undef isprint
|
|
#undef ispunct
|
|
#undef isspace
|
|
#undef isupper
|
|
#undef isxdigit
|
|
|
|
#undef tolower
|
|
#undef toupper
|
|
|
|
#define isalnum(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISALNUM)
|
|
#define isalpha(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISALPHA)
|
|
#define iscntrl(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISCNTRL)
|
|
#define isdigit(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISDIGIT)
|
|
#define isgraph(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISGRAPH)
|
|
#define islower(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISLOWER)
|
|
#define isprint(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISPRINT)
|
|
#define ispunct(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISPUNCT)
|
|
#define isspace(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISSPACE)
|
|
#define isupper(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISUPPER)
|
|
#define isxdigit(c) (__dj_ctype_flags[(unsigned char)(c)+1] & __dj_ISXDIGIT)
|
|
|
|
#define tolower(c) (__dj_ctype_tolower[(unsigned char)(c)+1])
|
|
#define toupper(c) (__dj_ctype_toupper[(unsigned char)(c)+1])
|
|
|
|
#endif /* __dj_include_inline_ctype_ha_ */
|