diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-08-26 12:30:34 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-08-26 12:30:34 -0300 |
| commit | 9a3940380a2a1540dc500593a6de0c1c5e6feb69 (patch) | |
| tree | daf6fa0e3203e85465e64ea03fbc77b52a9140e3 /liolib.c | |
| parent | 711890624fae4508d1cb5b4d358817bf4ebcfcb2 (diff) | |
| download | lua-9a3940380a2a1540dc500593a6de0c1c5e6feb69.tar.gz lua-9a3940380a2a1540dc500593a6de0c1c5e6feb69.tar.bz2 lua-9a3940380a2a1540dc500593a6de0c1c5e6feb69.zip | |
New compile option LUA_USE_OFF_T
Allows non-Posix systems to use off_t and related functions for
file offsets.
Diffstat (limited to '')
| -rw-r--r-- | liolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -114,7 +114,7 @@ static int l_checkmode (const char *mode) { | |||
| 114 | 114 | ||
| 115 | #if !defined(l_fseek) /* { */ | 115 | #if !defined(l_fseek) /* { */ |
| 116 | 116 | ||
| 117 | #if defined(LUA_USE_POSIX) /* { */ | 117 | #if defined(LUA_USE_POSIX) || defined(LUA_USE_OFF_T) /* { */ |
| 118 | 118 | ||
| 119 | #include <sys/types.h> | 119 | #include <sys/types.h> |
| 120 | 120 | ||
