aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iolib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/iolib.c b/iolib.c
index eeeb43c4..70a4074f 100644
--- a/iolib.c
+++ b/iolib.c
@@ -28,7 +28,11 @@ static void pushresult (int i)
28 lua_pushuserdata(NULL); 28 lua_pushuserdata(NULL);
29 else { 29 else {
30 lua_pushnil(); 30 lua_pushnil();
31#ifndef NOSTRERROR
31 lua_pushstring(strerror(errno)); 32 lua_pushstring(strerror(errno));
33#else
34 lua_pushstring("system unable to define the error");
35#endif
32 } 36 }
33} 37}
34 38