# HG changeset patch # User J. Ali Harlow # Date 1314197144 -3600 # Node ID eb6f3496b8e5bc9c45bbef160a29da992e134567 # Parent 98aade0d875b3dbcd0a3cce720c0dd43a895810f MinGW runtime 3.15.2 doesn't define ESTALE or ETIMEDOUT diff -r 98aade0d875b -r eb6f3496b8e5 librazor/lua.c --- a/librazor/lua.c Wed Aug 24 15:28:52 2011 +0100 +++ b/librazor/lua.c Wed Aug 24 15:45:44 2011 +0100 @@ -172,10 +172,14 @@ 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: