fix os.host

This commit is contained in:
ruki
2018-11-20 00:31:46 +08:00
parent af34ce822c
commit 1f9b177f72
6 changed files with 36 additions and 21 deletions

View File

@@ -63,6 +63,14 @@ Notes:
#include <stdlib.h>
#include <string.h>
#include "luaconf.h"
#undef LUA_API
#if defined(__cplusplus)
#define LUA_API extern "C"
#else
#define LUA_API extern
#endif
#include "luajit.h"
#include "lualib.h"
#include "lauxlib.h"