mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 16:00:27 +00:00
Fix minimal build.
This commit is contained in:
parent
3a1a59f1eb
commit
ab27b789e4
@ -54,11 +54,13 @@ typedef struct {
|
||||
int is_error;
|
||||
} JanetTimeout;
|
||||
|
||||
#ifdef JANET_THREADS
|
||||
typedef struct {
|
||||
JanetMailbox *original;
|
||||
JanetMailbox *newbox;
|
||||
uint64_t flags;
|
||||
} JanetMailboxPair;
|
||||
#endif
|
||||
|
||||
struct JanetVM {
|
||||
/* Top level dynamic bindings */
|
||||
@ -121,7 +123,7 @@ struct JanetVM {
|
||||
JanetTraversalNode *traversal_base;
|
||||
|
||||
/* Threading */
|
||||
#ifndef JANET_SINGLE_THREADED
|
||||
#ifdef JANET_THREADS
|
||||
JanetMailbox *mailbox;
|
||||
JanetThread *thread_current;
|
||||
JanetTable *thread_decode;
|
||||
|
Loading…
Reference in New Issue
Block a user