Explorar el Código

keep "#include <windows.h>" in this file, but without the
previous requirement that it must be included before any other
header file (it doesn't seem to matter)

Roberto Ierusalimschy hace 10 años
padre
commit
c49edc4566
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      loadlib.c

+ 3 - 1
loadlib.c

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: loadlib.c,v 1.119 2014/10/27 18:05:37 roberto Exp roberto $
+** $Id: loadlib.c,v 1.120 2014/11/02 19:19:04 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
 **
 **
@@ -161,6 +161,8 @@ static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) {
 ** =======================================================================
 ** =======================================================================
 */
 */
 
 
+#include <windows.h>
+
 #undef setprogdir
 #undef setprogdir
 
 
 /*
 /*