diff options
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" |