C++14 build fix

Former-commit-id: b45f50efa2fb56aa995ee6ceb6bd91380c28187c
This commit is contained in:
John Sully 2020-02-17 23:29:03 -05:00
parent fbf7074169
commit a711a040e4

View File

@ -131,7 +131,7 @@ struct aeCommand
aeCommandControl *pctl; aeCommandControl *pctl;
}; };
#ifdef PIPE_BUF #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 #endif
void aeProcessCmd(aeEventLoop *eventLoop, int fd, void *, int ) void aeProcessCmd(aeEventLoop *eventLoop, int fd, void *, int )