For conformance to ISO C the stdbool.h header has to provide the macro __bool_true_false_are_defined (defined to 1). Yep, that name is really in the standard.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			176 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			176 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _STDBOOL_H
 | 
						|
#define _STDBOOL_H
 | 
						|
 | 
						|
/* ISOC99 boolean */
 | 
						|
 | 
						|
#define bool	_Bool
 | 
						|
#define true	1
 | 
						|
#define false	0
 | 
						|
#define __bool_true_false_are_defined 1
 | 
						|
 | 
						|
#endif /* _STDBOOL_H */
 |