vchan: fix ASYNC_INIT macro
This commit is contained in:
		
							parent
							
								
									22207ddf75
								
							
						
					
					
						commit
						01c9fdfe59
					
				| @ -174,7 +174,7 @@ static int server_interface_init(struct libvchan *ctrl, int devno) | ||||
| 		goto fail2; | ||||
| 	// do not block in stubdom and windows - libvchan_server_handle_connected will be
 | ||||
| 	// called on first input
 | ||||
| #ifdef ASYNC_INIT | ||||
| #ifndef ASYNC_INIT | ||||
| 	// wait for the peer to arrive
 | ||||
| 	if (xc_evtchn_pending(evfd) == -1) | ||||
| 		goto fail2; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski
						Marek Marczykowski