One less qemu-specific macro. It also helps to make some headers/units only depend on glib, and thus moved in standalone projects eventually. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			198 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			198 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef QEMU_HW_H
 | 
						|
#define QEMU_HW_H
 | 
						|
 | 
						|
#ifdef CONFIG_USER_ONLY
 | 
						|
#error Cannot include hw/hw.h from user emulation
 | 
						|
#endif
 | 
						|
 | 
						|
void QEMU_NORETURN hw_error(const char *fmt, ...) G_GNUC_PRINTF(1, 2);
 | 
						|
 | 
						|
#endif
 |