aboutsummaryrefslogtreecommitdiff
path: root/c-api/compat-5.3.c
diff options
context:
space:
mode:
Diffstat (limited to 'c-api/compat-5.3.c')
-rw-r--r--c-api/compat-5.3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c-api/compat-5.3.c b/c-api/compat-5.3.c
index fd41798..4395bbc 100644
--- a/c-api/compat-5.3.c
+++ b/c-api/compat-5.3.c
@@ -380,7 +380,8 @@ COMPAT53_API int luaL_fileresult (lua_State *L, int stat, const char *fname) {
380 380
381#if !defined(l_inspectstat) && \ 381#if !defined(l_inspectstat) && \
382 (defined(unix) || defined(__unix) || defined(__unix__) || \ 382 (defined(unix) || defined(__unix) || defined(__unix__) || \
383 defined(__TOS_AIX__) || defined(_SYSTYPE_BSD)) 383 defined(__TOS_AIX__) || defined(_SYSTYPE_BSD) || \
384 (defined(__APPLE__) && defined(__MACH__)))
384/* some form of unix; check feature macros in unistd.h for details */ 385/* some form of unix; check feature macros in unistd.h for details */
385# include <unistd.h> 386# include <unistd.h>
386/* check posix version; the relevant include files and macros probably 387/* check posix version; the relevant include files and macros probably