include of 'windows.h' moved to where it is needed

This commit is contained in:
Roberto Ierusalimschy 2010-01-11 15:11:24 -02:00
parent 692209fa8d
commit 572b94bbcb
2 changed files with 3 additions and 3 deletions

View File

@ -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
** 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

View File

@ -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
** See Copyright Notice in lua.h
*/
@ -34,7 +34,6 @@
#endif
#if defined(LUA_WIN)
#include <windows.h>
#define LUA_DL_DLL
#endif