Fix build breaks on some older compilers
Former-commit-id: 39a60c8120ac4a7c2aad83df00a4fbea07a801cc
This commit is contained in:
parent
7074a7615e
commit
2783649378
@ -2465,7 +2465,7 @@ struct redisMaster *MasterInfoFromClient(client *c);
|
||||
uint64_t getMvccTstamp();
|
||||
void incrementMvccTstamp();
|
||||
|
||||
#if defined(__GNUC__) && !defined(NO_DEPRECATE_FREE)
|
||||
#if __GNUC__ >= 7 && !defined(NO_DEPRECATE_FREE)
|
||||
[[deprecated]]
|
||||
void *calloc(size_t count, size_t size);
|
||||
[[deprecated]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user