diff options
-rw-r--r-- | src/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index 5bc23b32f..74d86bbee 100644 --- a/src/system.h +++ b/src/system.h @@ -702,3 +702,7 @@ io_blksize (struct stat sb) } void usage (int status) ATTRIBUTE_NORETURN; + +#ifndef ARRAY_CARDINALITY +# define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array)) +#endif |