Signed-off-by: Piotr Jaroszyński <p.jaroszyn...@gmail.com> --- src/include/ctype.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/include/ctype.h b/src/include/ctype.h index ed4d884..9f5127b 100644 --- a/src/include/ctype.h +++ b/src/include/ctype.h @@ -11,6 +11,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define isdigit(c) ((c) >= '0' && (c) <= '9') #define islower(c) ((c) >= 'a' && (c) <= 'z') #define isupper(c) ((c) >= 'A' && (c) <= 'Z') +#define isxdigit(c) (isdigit(c) || ((c) >= 'A' && (c) <= 'F') || ((c) >= 'a' && (c) <= 'f')) static inline unsigned char tolower(unsigned char c) { -- 1.7.1 _______________________________________________ gPXE-devel mailing list gPXE-devel@etherboot.org http://etherboot.org/mailman/listinfo/gpxe-devel