mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 07:03:02 +00:00 
			
		
		
		
	Fix minimal build.
This commit is contained in:
		| @@ -54,11 +54,13 @@ typedef struct { | |||||||
|     int is_error; |     int is_error; | ||||||
| } JanetTimeout; | } JanetTimeout; | ||||||
|  |  | ||||||
|  | #ifdef JANET_THREADS | ||||||
| typedef struct { | typedef struct { | ||||||
|     JanetMailbox *original; |     JanetMailbox *original; | ||||||
|     JanetMailbox *newbox; |     JanetMailbox *newbox; | ||||||
|     uint64_t flags; |     uint64_t flags; | ||||||
| } JanetMailboxPair; | } JanetMailboxPair; | ||||||
|  | #endif | ||||||
|  |  | ||||||
| struct JanetVM { | struct JanetVM { | ||||||
|     /* Top level dynamic bindings */ |     /* Top level dynamic bindings */ | ||||||
| @@ -121,7 +123,7 @@ struct JanetVM { | |||||||
|     JanetTraversalNode *traversal_base; |     JanetTraversalNode *traversal_base; | ||||||
|  |  | ||||||
|     /* Threading */ |     /* Threading */ | ||||||
| #ifndef JANET_SINGLE_THREADED | #ifdef JANET_THREADS | ||||||
|     JanetMailbox *mailbox; |     JanetMailbox *mailbox; | ||||||
|     JanetThread *thread_current; |     JanetThread *thread_current; | ||||||
|     JanetTable *thread_decode; |     JanetTable *thread_decode; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose