C++14 build fix

Former-commit-id: 5a3e3c9fe20dabe294c439cd2b22e929a228f596
This commit is contained in:
John Sully 2020-02-17 23:29:03 -05:00
parent 56edd3f759
commit cb4a6bf610

View File

@ -131,7 +131,7 @@ struct aeCommand
aeCommandControl *pctl;
};
#ifdef PIPE_BUF
static_assert(sizeof(aeCommand) <= PIPE_BUF);
static_assert(sizeof(aeCommand) <= PIPE_BUF, "aeCommand must be small enough to send atomically through a pipe");
#endif
void aeProcessCmd(aeEventLoop *eventLoop, int fd, void *, int )