For building with MSVC, std::strtof() didn't get introduced until VS2013
(use std::strtod() in earlier versions)
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
#include "pbd/configuration_variable.h"
|
||||
#include "pbd/debug.h"
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1800)
|
||||
// MSVC only introduced std::strtof in VS2013
|
||||
#define strtof(s, e) strtod(s, e)
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
using namespace PBD;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user