mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
New compile option LUA_USE_OFF_T
Allows non-Posix systems to use off_t and related functions for file offsets.
This commit is contained in:
parent
711890624f
commit
9a3940380a
1 changed files with 1 additions and 1 deletions
2
liolib.c
2
liolib.c
|
|
@ -114,7 +114,7 @@ static int l_checkmode (const char *mode) {
|
|||
|
||||
#if !defined(l_fseek) /* { */
|
||||
|
||||
#if defined(LUA_USE_POSIX) /* { */
|
||||
#if defined(LUA_USE_POSIX) || defined(LUA_USE_OFF_T) /* { */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue