diff options
Diffstat (limited to 'src/aclk/mqtt_websockets/common_internal.h')
-rw-r--r-- | src/aclk/mqtt_websockets/common_internal.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/aclk/mqtt_websockets/common_internal.h b/src/aclk/mqtt_websockets/common_internal.h index 2be1c45b8..d79dbb3f3 100644 --- a/src/aclk/mqtt_websockets/common_internal.h +++ b/src/aclk/mqtt_websockets/common_internal.h @@ -1,27 +1,12 @@ -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef COMMON_INTERNAL_H #define COMMON_INTERNAL_H #include "endian_compat.h" -#ifdef MQTT_WSS_CUSTOM_ALLOC -#include "../helpers/mqtt_wss_pal.h" -#else -#define mw_malloc(...) malloc(__VA_ARGS__) -#define mw_calloc(...) calloc(__VA_ARGS__) -#define mw_free(...) free(__VA_ARGS__) -#define mw_strdup(...) strdup(__VA_ARGS__) -#define mw_realloc(...) realloc(__VA_ARGS__) -#endif - #ifndef MQTT_WSS_FRAG_MEMALIGN #define MQTT_WSS_FRAG_MEMALIGN (8) #endif -#define OPENSSL_VERSION_095 0x00905100L -#define OPENSSL_VERSION_097 0x00907000L -#define OPENSSL_VERSION_110 0x10100000L -#define OPENSSL_VERSION_111 0x10101000L - #endif /* COMMON_INTERNAL_H */ |