C++14 build fix
Former-commit-id: 5a3e3c9fe20dabe294c439cd2b22e929a228f596
This commit is contained in:
parent
56edd3f759
commit
cb4a6bf610
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user