MinGW runtime 3.15.2 doesn't define ESTALE or ETIMEDOUT
authorJ. Ali Harlow <ali@juiblex.co.uk>
Wed Aug 24 15:45:44 2011 +0100 (2011-08-24)
changeset 400eb6f3496b8e5
parent 399 98aade0d875b
child 401 75dd38e0b472
MinGW runtime 3.15.2 doesn't define ESTALE or ETIMEDOUT
librazor/lua.c
     1.1 --- a/librazor/lua.c	Wed Aug 24 15:28:52 2011 +0100
     1.2 +++ b/librazor/lua.c	Wed Aug 24 15:45:44 2011 +0100
     1.3 @@ -172,10 +172,14 @@
     1.4  			got_eacces = 1;
     1.5  			/* Fall through */
     1.6  		case ENOENT:
     1.7 +#ifdef ESTALE
     1.8  		case ESTALE:
     1.9 +#endif
    1.10  		case ENOTDIR:
    1.11  		case ENODEV:
    1.12 +#ifdef ETIMEDOUT
    1.13  		case ETIMEDOUT:
    1.14 +#endif
    1.15  			lua_pop(L, lua_gettop(L) - n);
    1.16  			break;
    1.17  		default: