From: J. Ali Harlow Date: Wed, 24 Aug 2011 14:45:44 +0000 (+0100) Subject: MinGW runtime 3.15.2 doesn't define ESTALE or ETIMEDOUT X-Git-Tag: 0.4.1~1 X-Git-Url: http://project.juiblex.co.uk/git/?a=commitdiff_plain;h=4defa620bb9c819203841055871e7c54166c887e;p=razor2.git%2F.git MinGW runtime 3.15.2 doesn't define ESTALE or ETIMEDOUT --- diff --git a/librazor/lua.c b/librazor/lua.c index f32e1f5..f5299f1 100644 --- a/librazor/lua.c +++ b/librazor/lua.c @@ -172,10 +172,14 @@ static int proxy_execp(lua_State *L) got_eacces = 1; /* Fall through */ case ENOENT: +#ifdef ESTALE case ESTALE: +#endif case ENOTDIR: case ENODEV: +#ifdef ETIMEDOUT case ETIMEDOUT: +#endif lua_pop(L, lua_gettop(L) - n); break; default: