Skip to content

Commit

Permalink
Fix build breaks on some older compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSully committed May 19, 2019
1 parent 60a0546 commit 4333615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,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]]
Expand Down

0 comments on commit 4333615

Please sign in to comment.