commit 5184ff209657cf76f3ef7e70a3db69b376b9ff17
parent b0cbe778168e31625c8c59ad198dff3d8e093ccc
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Fri, 25 Nov 2011 10:51:39 -0200
'LUA_DL_DLL' is not yet defined before the inclusion of 'lua.h'
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/loadlib.c b/loadlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: loadlib.c,v 1.103 2011/11/09 19:11:20 roberto Exp roberto $
+** $Id: loadlib.c,v 1.104 2011/11/10 11:42:58 roberto Exp roberto $
** Dynamic library loader for Lua
** See Copyright Notice in lua.h
**
@@ -12,7 +12,7 @@
/*
** if needed, includes windows header before everything else
*/
-#if defined(LUA_DL_DLL)
+#if defined(_WIN32)
#include <windows.h>
#endif