mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-29 22:53:03 +00:00 
			
		
		
		
	Define JanetTimeout only if event loop enabled
This commit is contained in:
		| @@ -55,6 +55,7 @@ typedef struct { | ||||
|     void *data; | ||||
| } JanetQueue; | ||||
|  | ||||
| #ifdef JANET_EV | ||||
| typedef struct { | ||||
|     JanetTimestamp when; | ||||
|     JanetFiber *fiber; | ||||
| @@ -68,6 +69,7 @@ typedef struct { | ||||
|     pthread_t worker; | ||||
| #endif | ||||
| } JanetTimeout; | ||||
| #endif | ||||
|  | ||||
| /* Registry table for C functions - contains metadata that can | ||||
|  * be looked up by cfunction pointer. All strings here are pointing to | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Camilleri
					Michael Camilleri