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