aboutsummaryrefslogtreecommitdiff
path: root/src/yue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yue.cpp')
-rw-r--r--src/yue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yue.cpp b/src/yue.cpp
index c6b35e6..5633f54 100644
--- a/src/yue.cpp
+++ b/src/yue.cpp
@@ -82,7 +82,7 @@ static void openlibs(void* state) {
82 luaL_openlibs(L); 82 luaL_openlibs(L);
83#if LUA_VERSION_NUM > 501 83#if LUA_VERSION_NUM > 501
84 luaL_requiref(L, "yue", luaopen_yue, 0); 84 luaL_requiref(L, "yue", luaopen_yue, 0);
85 luaL_requiref(L, "json", luaopen_colibc_json, 0); 85 luaL_requiref(L, "cojson", luaopen_colibc_json, 0);
86#else 86#else
87 lua_pushcfunction(L, luaopen_yue); 87 lua_pushcfunction(L, luaopen_yue);
88 lua_call(L, 0, 0); 88 lua_call(L, 0, 0);