Use preprocessor for ENTRY_SERIALIZED_LENGTH
This commit is contained in:
parent
e465731e69
commit
332ce1a800
|
@ -8,7 +8,8 @@
|
||||||
#include <stdalign.h>
|
#include <stdalign.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const int ENTRY_SERIALIZED_LENGTH = 180;
|
#define ENTRY_SERIALIZED_LENGTH 180
|
||||||
|
|
||||||
typedef struct HistoryEntry {
|
typedef struct HistoryEntry {
|
||||||
unsigned char bytes[ENTRY_SERIALIZED_LENGTH];
|
unsigned char bytes[ENTRY_SERIALIZED_LENGTH];
|
||||||
} HistoryEntry;
|
} HistoryEntry;
|
||||||
|
|
Loading…
Reference in New Issue