mirror of
				https://github.com/fairwaves/UHD-Fairwaves.git
				synced 2025-11-03 21:43:15 +00:00 
			
		
		
		
	umtrx: provided nan() function for MSVC 2012
This commit is contained in:
		@@ -20,6 +20,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <iostream>
 | 
					#include <iostream>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(_MSC_VER) && (_MSC_VER <= 1700)
 | 
				
			||||||
 | 
					#define nan(arg) std::strtod("NAN()", (char**)NULL)
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
using namespace uhd;
 | 
					using namespace uhd;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ads1015_ctrl::ads1015_ctrl()
 | 
					ads1015_ctrl::ads1015_ctrl()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,6 +20,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <iostream>
 | 
					#include <iostream>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(_MSC_VER) && (_MSC_VER <= 1700)
 | 
				
			||||||
 | 
					#define nan(arg) std::strtod("NAN()", (char**)NULL)
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
using namespace uhd;
 | 
					using namespace uhd;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
tmp102_ctrl::tmp102_ctrl()
 | 
					tmp102_ctrl::tmp102_ctrl()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user