diff options
Diffstat (limited to 'regress/lib/libm/msun/macros.h')
-rw-r--r-- | regress/lib/libm/msun/macros.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libm/msun/macros.h b/regress/lib/libm/msun/macros.h index ed682c29e37..00ea394dbc1 100644 --- a/regress/lib/libm/msun/macros.h +++ b/regress/lib/libm/msun/macros.h @@ -1,7 +1,9 @@ -/* $OpenBSD: macros.h,v 1.1 2021/10/22 18:00:22 mbuhl Exp $ */ +/* $OpenBSD: macros.h,v 1.2 2021/12/13 16:56:48 deraadt Exp $ */ /* Public domain - Moritz Buhl */ #define __FBSDID(a) #define rounddown(x, y) (((x)/(y))*(y)) #define fpequal(a, b) fpequal_cs(a, b, 1) #define hexdump(...) + +#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) |