mqtt_wss_pal.h 485 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. #ifndef MQTT_WSS_PAL_H
  3. #define MQTT_WSS_PAL_H
  4. #include "libnetdata/libnetdata.h"
  5. #undef OPENSSL_VERSION_095
  6. #undef OPENSSL_VERSION_097
  7. #undef OPENSSL_VERSION_110
  8. #undef OPENSSL_VERSION_111
  9. #define mw_malloc(...) mallocz(__VA_ARGS__)
  10. #define mw_calloc(...) callocz(__VA_ARGS__)
  11. #define mw_free(...) freez(__VA_ARGS__)
  12. #define mw_strdup(...) strdupz(__VA_ARGS__)
  13. #define mw_realloc(...) reallocz(__VA_ARGS__)
  14. #endif /* MQTT_WSS_PAL_H */