From 8cd395564c9b547e2ded1d4eb67654effcb86494 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 6 Jan 2010 12:35:17 -0200 Subject: [PATCH] no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN) --- loadlib.c | 6 +++--- 1 file 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 @@ /* -** $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) ** ======================================================================= */