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