aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-03 13:11:10 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-03 13:11:10 -0200
commitc49edc45668b17d6fbd19edb2196af4ff8822636 (patch)
tree9699bff278b7ac3ae5ddcde1b4843752170df46c /loadlib.c
parentc5d52a5468ffa036f22b766c7c9c4b58332b7767 (diff)
downloadlua-c49edc45668b17d6fbd19edb2196af4ff8822636.tar.gz
lua-c49edc45668b17d6fbd19edb2196af4ff8822636.tar.bz2
lua-c49edc45668b17d6fbd19edb2196af4ff8822636.zip
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)
Diffstat (limited to 'loadlib.c')
-rw-r--r--loadlib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loadlib.c b/loadlib.c
index 79a7b86c..5c0dc9db 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loadlib.c,v 1.119 2014/10/27 18:05:37 roberto Exp roberto $ 2** $Id: loadlib.c,v 1.120 2014/11/02 19:19:04 roberto Exp roberto $
3** Dynamic library loader for Lua 3** Dynamic library loader for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5** 5**
@@ -161,6 +161,8 @@ static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) {
161** ======================================================================= 161** =======================================================================
162*/ 162*/
163 163
164#include <windows.h>
165
164#undef setprogdir 166#undef setprogdir
165 167
166/* 168/*