aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-06 12:35:17 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-06 12:35:17 -0200
commit8cd395564c9b547e2ded1d4eb67654effcb86494 (patch)
tree21bac31e14265405e2b4262a4ec62d86799484a0 /loadlib.c
parent389c890ed3bd0d3e8b7d08d2509e0accc812a92e (diff)
downloadlua-8cd395564c9b547e2ded1d4eb67654effcb86494.tar.gz
lua-8cd395564c9b547e2ded1d4eb67654effcb86494.tar.bz2
lua-8cd395564c9b547e2ded1d4eb67654effcb86494.zip
no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)
Diffstat (limited to 'loadlib.c')
-rw-r--r--loadlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loadlib.c b/loadlib.c
index 3ca27ce4..1299bf63 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loadlib.c,v 1.71 2009/12/22 15:32:50 roberto Exp roberto $ 2** $Id: loadlib.c,v 1.72 2010/01/04 16:36:39 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**
@@ -88,7 +88,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym);
88 88
89 89
90 90
91#if defined(LUA_DL_DLOPEN) 91#if defined(LUA_USE_DLOPEN)
92/* 92/*
93** {======================================================================== 93** {========================================================================
94** This is an implementation of loadlib based on the dlfcn interface. 94** This is an implementation of loadlib based on the dlfcn interface.
@@ -183,7 +183,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {
183#elif defined(LUA_DL_DYLD) 183#elif defined(LUA_DL_DYLD)
184/* 184/*
185** {====================================================================== 185** {======================================================================
186** Native Mac OS X / Darwin Implementation 186** Old native Mac OS X - only for old versions of Mac OS (< 10.3)
187** ======================================================================= 187** =======================================================================
188*/ 188*/
189 189