diff options
Diffstat (limited to '')
-rw-r--r-- | common.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ #define MISALIGNMENT(ADDR, ALIGN) (((ADDR) - ((ADDR) % (uintptr_t)(ALIGN))) % (uintptr_t)(ALIGN)) #define ALIGN_BUF(BUF, ALIGN) (&(BUF)[(size_t)MISALIGNMENT((uintptr_t)(char *)(BUF), (ALIGN))]) +#define ELEMSOF(ARR) (sizeof(ARR) / sizeof *(ARR)) struct libsyscalls_symbol_printer_data { |