nelem.h 491 B

123456789101112131415
  1. #include <contrib/libs/openssl/redef.h>
  2. /*
  3. * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the OpenSSL license (the "License"). You may not use
  6. * this file except in compliance with the License. You can obtain a copy
  7. * in the file LICENSE in the source distribution or at
  8. * https://www.openssl.org/source/license.html
  9. */
  10. #ifndef OSSL_INTERNAL_NELEM_H
  11. # define OSSL_INTERNAL_NELEM_H
  12. # define OSSL_NELEM(x) (sizeof(x)/sizeof((x)[0]))
  13. #endif