diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-02 17:19:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-02 17:19:04 -0200 |
commit | 28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9 (patch) | |
tree | eaac6c45a621d7f0176ce8f57df3cca1ca8d30f6 /liolib.c | |
parent | c25072a246eddff711ebec8e4acce9593bc5ff70 (diff) | |
download | lua-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.c | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -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" |