projects
/
vg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6141949
)
Toggle legacy thing off for now
author
hgn
<hgodden00@gmail.com>
Tue, 15 Jul 2025 10:23:49 +0000
(11:23 +0100)
committer
hgn
<hgodden00@gmail.com>
Tue, 15 Jul 2025 10:23:49 +0000
(11:23 +0100)
vg_msg.c
patch
|
blob
|
history
diff --git
a/vg_msg.c
b/vg_msg.c
index 76d96be9f4ecf67d98c7df7bb282aa2c52d96183..d50a11b47b824f923a872144d84045f5cd08d294 100644
(file)
--- a/
vg_msg.c
+++ b/
vg_msg.c
@@
-1,7
+1,6
@@
#include "vg_msg.h"
#include "vg_platform.h"
#include "vg_string.h"
-#include "vg_kv.h"
#include <string.h>
#include <stdio.h>
@@
-510,6
+509,8
@@
void vg_msg_print( vg_msg *msg, u32 len )
}
}
+#ifdef VG_LEGACY_MSG_TO_KVS
+#include "vg_kv.h"
void vg_kvs_append_from_legacy_msg2( vg_kvs *kvs, u32 root, void *buffer, u32 len, vg_stack_allocator *stack )
{
vg_msg b;
@@
-581,3
+582,4
@@
void vg_kvs_append_from_legacy_msg2( vg_kvs *kvs, u32 root, void *buffer, u32 le
}
}
}
+#endif