mirror of https://github.com/wb2osz/direwolf.git
				
				
				
			Compatibility with GPSD API 8.
This commit is contained in:
		
							parent
							
								
									a1e2d1c3a8
								
							
						
					
					
						commit
						c2eccc500a
					
				
							
								
								
									
										4
									
								
								dwgpsd.c
								
								
								
								
							
							
						
						
									
										4
									
								
								dwgpsd.c
								
								
								
								
							| 
						 | 
				
			
			@ -58,9 +58,9 @@
 | 
			
		|||
// dwgps.c claims to only support GPSD_API_MAJOR_VERSION 5, but also builds successfully with
 | 
			
		||||
// GPSD_API_MAJOR_VERSION 6 provided by libgps22 when the attached patch is applied.
 | 
			
		||||
 | 
			
		||||
// Also compatible with API 7 with conditional compilation later.
 | 
			
		||||
// Also compatible with API 8 with conditional compilation later.
 | 
			
		||||
 | 
			
		||||
#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 7
 | 
			
		||||
#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 8
 | 
			
		||||
#error libgps API version might be incompatible.
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue