1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00: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:
Roberto Ierusalimschy
2025-08-26 12:30:34 -03:00
parent 711890624f
commit 9a3940380a
+1 -1
View File
@@ -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>