commit 572b94bbcb753d10cd5a8357f15dd845bd03d235
parent 692209fa8d2f9cb05d5b21860df4fd4eeb9622c4
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 11 Jan 2010 15:11:00 -0200
include of 'windows.h' moved to where it is needed
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/loadlib.c b/loadlib.c
@@ -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
diff --git a/luaconf.h b/luaconf.h
@@ -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