From: oharboe at B. <oh...@ma...> - 2009-08-25 08:45:43
|
Author: oharboe Date: 2009-08-25 08:45:40 +0200 (Tue, 25 Aug 2009) New Revision: 2607 Modified: trunk/src/helper/types.h Log: add missing isblank() for eCos Modified: trunk/src/helper/types.h =================================================================== --- trunk/src/helper/types.h 2009-08-24 07:53:46 UTC (rev 2606) +++ trunk/src/helper/types.h 2009-08-25 06:45:40 UTC (rev 2607) @@ -153,6 +153,8 @@ #define UINT64_MAX (__CONCAT(INT64_MAX, U) * 2ULL + 1ULL) +/* C99, eCos is C90 compliant (with bits of C99) */ +#define isblank(c) ((c) == ' ' || (c) == '\t') #endif |