Fix build breaks on some older compilers

Former-commit-id: 39a60c8120ac4a7c2aad83df00a4fbea07a801cc
This commit is contained in:
John Sully 2019-05-18 20:58:48 -04:00
parent 7074a7615e
commit 2783649378

View File

@ -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]]