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 /loadlib.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 '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" |
