From 28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 2 Nov 2014 17:19:04 -0200 Subject: added include for 'lprefix.h', for stuff that must be added before any other header file --- liolib.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 0927d7c0..4e839006 100644 --- a/liolib.c +++ b/liolib.c @@ -1,18 +1,13 @@ /* -** $Id: liolib.c,v 2.137 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: liolib.c,v 2.138 2014/10/31 15:54:06 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ +#define liolib_c +#define LUA_LIB -/* -** This definition must come before the inclusion of 'stdio.h'; it -** should not affect non-POSIX systems -*/ -#if !defined(_FILE_OFFSET_BITS) -#define _LARGEFILE_SOURCE 1 -#define _FILE_OFFSET_BITS 64 -#endif +#include "lprefix.h" #include @@ -22,9 +17,6 @@ #include #include -#define liolib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" -- cgit v1.2.3-55-g6feb