lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 8cd395564c9b547e2ded1d4eb67654effcb86494
parent 389c890ed3bd0d3e8b7d08d2509e0accc812a92e
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed,  6 Jan 2010 12:34:53 -0200

no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)

Diffstat:
Mloadlib.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/loadlib.c b/loadlib.c @@ -1,5 +1,5 @@ /* -** $Id: loadlib.c,v 1.71 2009/12/22 15:32:50 roberto Exp roberto $ +** $Id: loadlib.c,v 1.72 2010/01/04 16:36:39 roberto Exp roberto $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** @@ -88,7 +88,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym); -#if defined(LUA_DL_DLOPEN) +#if defined(LUA_USE_DLOPEN) /* ** {======================================================================== ** 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) { #elif defined(LUA_DL_DYLD) /* ** {====================================================================== -** Native Mac OS X / Darwin Implementation +** Old native Mac OS X - only for old versions of Mac OS (< 10.3) ** ======================================================================= */