Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/paths.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2012-01-26 18:47:52 +0400
committerRonan Collobert <ronan@collobert.com>2012-01-26 18:47:52 +0400
commitba5cf3f4dd92e517bf55f87a4da8749a82e0d606 (patch)
tree4c4d92ae8743249ce4dfdd8797e596fe63ea8784
parent04c55e41e4f948da1895bcaeac0885582434f66f (diff)
bug corrections in CMakeLists
-rw-r--r--paths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/paths.c b/paths.c
index f9476b2..8421892 100644
--- a/paths.c
+++ b/paths.c
@@ -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)