diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-11 15:11:24 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-11 15:11:24 -0200 |
| commit | 572b94bbcb753d10cd5a8357f15dd845bd03d235 (patch) | |
| tree | 238ec4fe2f42ddf2e0258a3b24dcbf5b0645e11f | |
| parent | 692209fa8d2f9cb05d5b21860df4fd4eeb9622c4 (diff) | |
| download | lua-572b94bbcb753d10cd5a8357f15dd845bd03d235.tar.gz lua-572b94bbcb753d10cd5a8357f15dd845bd03d235.tar.bz2 lua-572b94bbcb753d10cd5a8357f15dd845bd03d235.zip | |
include of 'windows.h' moved to where it is needed
| -rw-r--r-- | loadlib.c | 3 | ||||
| -rw-r--r-- | luaconf.h | 3 |
2 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: loadlib.c,v 1.74 2010/01/11 16:10:47 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.75 2010/01/11 17:06:31 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 | ** |
| @@ -129,6 +129,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { | |||
| 129 | ** ======================================================================= | 129 | ** ======================================================================= |
| 130 | */ | 130 | */ |
| 131 | 131 | ||
| 132 | #include <windows.h> | ||
| 132 | 133 | ||
| 133 | #undef setprogdir | 134 | #undef setprogdir |
| 134 | 135 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.127 2010/01/06 15:15:04 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.128 2010/01/11 16:35:20 roberto Exp roberto $ |
| 3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -34,7 +34,6 @@ | |||
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | #if defined(LUA_WIN) | 36 | #if defined(LUA_WIN) |
| 37 | #include <windows.h> | ||
| 38 | #define LUA_DL_DLL | 37 | #define LUA_DL_DLL |
| 39 | #endif | 38 | #endif |
| 40 | 39 | ||
