diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-25 10:52:03 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-25 10:52:03 -0200 |
commit | 5184ff209657cf76f3ef7e70a3db69b376b9ff17 (patch) | |
tree | 756adbf0ad3975480a9760c5e3273ad847187451 /loadlib.c | |
parent | b0cbe778168e31625c8c59ad198dff3d8e093ccc (diff) | |
download | lua-github-5184ff209657cf76f3ef7e70a3db69b376b9ff17.tar.gz |
'LUA_DL_DLL' is not yet defined before the inclusion of 'lua.h'
Diffstat (limited to 'loadlib.c')
-rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |