mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
For building with MSVC, std::strtof() didn't get introduced until VS2013
(use std::strtod() in earlier versions)
This commit is contained in:
parent
f04c1ca4db
commit
975f959adb
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue