diff options
Diffstat (limited to 'loadlib.c')
-rw-r--r-- | loadlib.c | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loadlib.c,v 1.118 2014/10/25 11:50:46 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.119 2014/10/27 18:05:37 roberto Exp roberto $ |
3 | ** Dynamic library loader for Lua | 3 | ** Dynamic library loader for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | ** | 5 | ** |
@@ -8,22 +8,15 @@ | |||
8 | ** systems. | 8 | ** systems. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #define loadlib_c | ||
12 | #define LUA_LIB | ||
11 | 13 | ||
12 | /* | 14 | #include "lprefix.h" |
13 | ** if needed, includes windows header before everything else | ||
14 | */ | ||
15 | #if defined(_WIN32) | ||
16 | #include <windows.h> | ||
17 | #endif | ||
18 | 15 | ||
19 | 16 | ||
20 | #include <stdlib.h> | 17 | #include <stdlib.h> |
21 | #include <string.h> | 18 | #include <string.h> |
22 | 19 | ||
23 | |||
24 | #define loadlib_c | ||
25 | #define LUA_LIB | ||
26 | |||
27 | #include "lua.h" | 20 | #include "lua.h" |
28 | 21 | ||
29 | #include "lauxlib.h" | 22 | #include "lauxlib.h" |