summaryrefslogtreecommitdiff
path: root/com32/lua/src/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lua/src/cpu.c')
-rw-r--r--com32/lua/src/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lua/src/cpu.c b/com32/lua/src/cpu.c
index 6ef4e5a3..69914f79 100644
--- a/com32/lua/src/cpu.c
+++ b/com32/lua/src/cpu.c
@@ -152,7 +152,7 @@ static const luaL_Reg cpulib[] = {
LUALIB_API int luaopen_cpu(lua_State *L) {
- luaL_openlib(L, LUA_CPULIBNAME, cpulib, 0);
+ luaL_newlib(L, cpulib);
return 1;
}