diff options
Diffstat (limited to 'include/internal/nelem.h')
-rw-r--r-- | include/internal/nelem.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/internal/nelem.h b/include/internal/nelem.h new file mode 100644 index 0000000000..d65a21a9fb --- /dev/null +++ b/include/internal/nelem.h @@ -0,0 +1,14 @@ +/* + * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + +#ifndef HEADER_NELEM_H +# define HEADER_NELEM_H + +# define OSSL_NELEM(x) (sizeof(x)/sizeof((x)[0])) +#endif |