summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/types.h b/src/helper/types.h
index 21ff2be2..21a6a337 100644
--- a/src/helper/types.h
+++ b/src/helper/types.h
@@ -153,6 +153,8 @@ typedef uint64_t uintmax_t;
#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