GH271: Warning on </dev/null to CA.pl
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index f4a427af0aa8d0b649872cf7f42fb8c403ce3177..7f94bfcae678cf8e8ac8f8f72d0da2ac0bf0a8fe 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -689,6 +689,8 @@ struct servent *getservbyname(const char *name, const char *proto);
 #  endif
 # endif
 
+#define OSSL_NELEM(x)    (sizeof(x)/sizeof(x[0]))
+
 #ifdef  __cplusplus
 }
 #endif