Compatibility check for autotools
This add an explicit test on the obsolete _MINIX define, unset it and replace it with _NETBSD_SOURCE. This should help compile a lot of packages relying on autotools in pkgsrc. Change-Id: Ie7da4ed5172f1b9f1f89e7a5d788ec2aed4d2563
This commit is contained in:
		
							parent
							
								
									f640210005
								
							
						
					
					
						commit
						c1bfecc185
					
				| @ -69,6 +69,12 @@ | ||||
| #define _NETBSD_SOURCE 1 | ||||
| #endif | ||||
| 
 | ||||
| /* Compatibility for older version of autotools. */ | ||||
| #if defined(_MINIX) | ||||
| #undef _MINIX | ||||
| #define _NETBSD_SOURCE 1 | ||||
| #endif | ||||
| 
 | ||||
| /* Never define _REENTRANT on Minix */ | ||||
| 
 | ||||
| #ifndef __minix | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lionel Sambuc
						Lionel Sambuc