aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-02 17:19:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-02 17:19:04 -0200
commit28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9 (patch)
treeeaac6c45a621d7f0176ce8f57df3cca1ca8d30f6 /liolib.c
parentc25072a246eddff711ebec8e4acce9593bc5ff70 (diff)
downloadlua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.tar.gz
lua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.tar.bz2
lua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.zip
added include for 'lprefix.h', for stuff that must be added before
any other header file
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/liolib.c b/liolib.c
index 0927d7c0..4e839006 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,18 +1,13 @@
1/* 1/*
2** $Id: liolib.c,v 2.137 2014/10/25 11:50:46 roberto Exp roberto $ 2** $Id: liolib.c,v 2.138 2014/10/31 15:54:06 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7#define liolib_c
8#define LUA_LIB
7 9
8/* 10#include "lprefix.h"
9** This definition must come before the inclusion of 'stdio.h'; it
10** should not affect non-POSIX systems
11*/
12#if !defined(_FILE_OFFSET_BITS)
13#define _LARGEFILE_SOURCE 1
14#define _FILE_OFFSET_BITS 64
15#endif
16 11
17 12
18#include <ctype.h> 13#include <ctype.h>
@@ -22,9 +17,6 @@
22#include <stdlib.h> 17#include <stdlib.h>
23#include <string.h> 18#include <string.h>
24 19
25#define liolib_c
26#define LUA_LIB
27
28#include "lua.h" 20#include "lua.h"
29 21
30#include "lauxlib.h" 22#include "lauxlib.h"