diff options
author | Ronan Collobert <ronan@collobert.com> | 2012-01-26 18:47:52 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2012-01-26 18:47:52 +0400 |
commit | ba5cf3f4dd92e517bf55f87a4da8749a82e0d606 (patch) | |
tree | 4c4d92ae8743249ce4dfdd8797e596fe63ea8784 | |
parent | 04c55e41e4f948da1895bcaeac0885582434f66f (diff) |
bug corrections in CMakeLists
-rw-r--r-- | paths.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -660,7 +660,7 @@ lua_dir(lua_State *L) /* ------------------------------------------------------ */ /* require (with global flag) */ -#ifdef LUA_DL_DLOPEN +#ifdef LUA_USE_DLOPEN # define NEED_PATH_REQUIRE 1 # include <dlfcn.h> # ifndef RTLD_LAZY @@ -673,7 +673,7 @@ lua_dir(lua_State *L) # define LL_SYM(h,sym) dlsym(h, sym) #endif -#ifdef LUA_DL_DLL +#ifdef LUA_WIN # define NEED_PATH_REQUIRE 1 # include <windows.h> # define LL_LOAD(h,fname) h=(void*)LoadLibraryA(fname) |