From 0a1b7727d7dad0abf1eabae071138477f88be516 Mon Sep 17 00:00:00 2001 From: "Christophe Berbizier (dbdl)" Date: Wed, 12 Feb 2014 16:42:21 +0100 Subject: [PATCH] Main: fixed debug library compilation --- Source/Main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Main.cpp b/Source/Main.cpp index 77323b6..01405c9 100644 --- a/Source/Main.cpp +++ b/Source/Main.cpp @@ -253,7 +253,11 @@ int luaopen_luce_core (lua_State *L) { } static const luaL_Reg lucecore_lib [] = { +#ifdef DEBUG + {"core", luaopen_luce_core_d}, +#else {"core", luaopen_luce_core}, +#endif {NULL, NULL} };