fix UUID_STR_LEN undefined on MacOS (#10313)
Timotej S committed
Dec 3, 2020 at 11:01 UTC
551fc3237a665f47e83058aa307b672f3221f2e1
1 file changed
+4
aclk/aclk_rx_msgs.c
+4
@@ -5,6 +5,10 @@
5
#include "aclk_stats.h"
6
#include "aclk_query.h"
7
8
+#ifndef UUID_STR_LEN
9
+#define UUID_STR_LEN 37
10
+#endif
11
+
12
static inline int aclk_extract_v2_data(char *payload, char **data)
13
{
14
char* ptr = strstr(payload, ACLK_V2_PAYLOAD_SEPARATOR);