diff options
Diffstat (limited to 'loadlib.c')
-rw-r--r-- | loadlib.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loadlib.c,v 1.19 2005/03/07 18:07:34 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.20 2005/03/08 20:10:05 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 | * |
@@ -33,7 +33,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym); | |||
33 | 33 | ||
34 | 34 | ||
35 | 35 | ||
36 | #if defined(LUA_USEDLOPEN) | 36 | #if defined(LUA_USE_DLOPEN) |
37 | /* | 37 | /* |
38 | ** {======================================================================== | 38 | ** {======================================================================== |
39 | ** This is an implementation of loadlib based on the dlfcn interface. | 39 | ** This is an implementation of loadlib based on the dlfcn interface. |
@@ -67,7 +67,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { | |||
67 | 67 | ||
68 | 68 | ||
69 | 69 | ||
70 | #elif defined(LUA_USEDLL) | 70 | #elif defined(LUA_USE_DLL) |
71 | /* | 71 | /* |
72 | ** {====================================================================== | 72 | ** {====================================================================== |
73 | ** This is an implementation of loadlib for Windows using native functions. | 73 | ** This is an implementation of loadlib for Windows using native functions. |
@@ -109,7 +109,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { | |||
109 | 109 | ||
110 | 110 | ||
111 | 111 | ||
112 | #elif defined(LUA_USEDYLD) | 112 | #elif defined(LUA_USE_DYLD) |
113 | /* | 113 | /* |
114 | ** {====================================================================== | 114 | ** {====================================================================== |
115 | ** Native Mac OS X / Darwin Implementation | 115 | ** Native Mac OS X / Darwin Implementation |