[PACKET_IO]bugfix for marsio mode

This commit is contained in:
liuwentan
2022-07-29 13:31:09 +08:00
parent 90b60f637e
commit ee2513fde4
11 changed files with 209 additions and 154 deletions

View File

@@ -3,7 +3,7 @@
#include <stdlib.h> //calloc
#define CALLOC(type, number) ((type *)calloc(sizeof(type), number))
#define REALLOC(addr, number) ((void *)realloc(addr, number))
#define FREE(p) {free(p);p=NULL;}
#define TRUE 1