Check that EWOULDBLOCK is the same as EAGAIN

It certainly is everywhere on Linux, but as a courtesy
to people doing some strange cross-compilation, check
that the assumption holds.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-03-13 21:10:19 -05:00
parent be7e1319ea
commit 012d7b4217

View file

@ -94,6 +94,9 @@
#include "def.h"
#include "sparse-endian.h"
/* Put this test here for a lack of better place */
assert_cc(EAGAIN == EWOULDBLOCK);
int saved_argc = 0;
char **saved_argv = NULL;