Get Lua to build with all tests passing

Fixes #61
This commit is contained in:
Justine Tunney 2021-03-07 13:26:57 -08:00
parent 4d3195f57a
commit b16b332539
70 changed files with 532 additions and 1047 deletions

View file

@ -7,12 +7,13 @@
#ifndef lstate_h
#define lstate_h
#include "lua.h"
#include "lobject.h"
#include "ltm.h"
#include "lzio.h"
#include "libc/calls/calls.h"
#include "third_party/lua/lobject.h"
#include "third_party/lua/ltm.h"
#include "third_party/lua/lua.h"
#include "third_party/lua/lzio.h"
/* clang-format off */
/*
** Some notes about garbage-collected objects: All objects in Lua must
@ -122,7 +123,6 @@ struct lua_longjmp; /* defined in ldo.c */
** is thread safe
*/
#if !defined(l_signalT)
#include <signal.h>
#define l_signalT sig_atomic_t
#endif