mirror of
https://github.com/lua/lua
synced 2025-04-06 04:52:56 +03:00
include of 'windows.h' moved to where it is needed
This commit is contained in:
parent
692209fa8d
commit
572b94bbcb
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: loadlib.c,v 1.74 2010/01/11 16:10:47 roberto Exp roberto $
|
** $Id: loadlib.c,v 1.75 2010/01/11 17:06:31 roberto Exp roberto $
|
||||||
** Dynamic library loader for Lua
|
** Dynamic library loader for Lua
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
**
|
**
|
||||||
@ -129,6 +129,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {
|
|||||||
** =======================================================================
|
** =======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
#undef setprogdir
|
#undef setprogdir
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: luaconf.h,v 1.127 2010/01/06 15:15:04 roberto Exp roberto $
|
** $Id: luaconf.h,v 1.128 2010/01/11 16:35:20 roberto Exp roberto $
|
||||||
** Configuration file for Lua
|
** Configuration file for Lua
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -34,7 +34,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(LUA_WIN)
|
#if defined(LUA_WIN)
|
||||||
#include <windows.h>
|
|
||||||
#define LUA_DL_DLL
|
#define LUA_DL_DLL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user