Emit 8 NULs for target section name instead of dumping core when the target
[deliverable/binutils-gdb.git] / include / libiberty.h
index 476e0165b3eed5206e7045ee3e1a2b6f5460936b..e6eb34739ce9fb35250585ee4acffd0829811fbe 100644 (file)
@@ -200,6 +200,8 @@ extern int asprintf PARAMS ((char **, const char *, ...)) ATTRIBUTE_PRINTF_2;
 extern int vasprintf PARAMS ((char **, const char *, va_list))
   ATTRIBUTE_PRINTF(2,0);
 
+#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.02276 seconds and 4 git commands to generate.