Browse Source

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

pull/9/head
Roberto Ierusalimschy 15 years ago
parent
commit
572b94bbcb
  1. 3
      loadlib.c
  2. 3
      luaconf.h

3
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

3
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

Loading…
Cancel
Save