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 | |
| parent | b0cbe778168e31625c8c59ad198dff3d8e093ccc (diff) | |
| download | lua-5184ff209657cf76f3ef7e70a3db69b376b9ff17.tar.gz lua-5184ff209657cf76f3ef7e70a3db69b376b9ff17.tar.bz2 lua-5184ff209657cf76f3ef7e70a3db69b376b9ff17.zip | |
'LUA_DL_DLL' is not yet defined before the inclusion of 'lua.h'
| -rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: loadlib.c,v 1.103 2011/11/09 19:11:20 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.104 2011/11/10 11:42:58 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 | ** |
| @@ -12,7 +12,7 @@ | |||
| 12 | /* | 12 | /* |
| 13 | ** if needed, includes windows header before everything else | 13 | ** if needed, includes windows header before everything else |
| 14 | */ | 14 | */ |
| 15 | #if defined(LUA_DL_DLL) | 15 | #if defined(_WIN32) |
| 16 | #include <windows.h> | 16 | #include <windows.h> |
| 17 | #endif | 17 | #endif |
| 18 | 18 | ||
