diff --git a/.gitignore b/.gitignore index 1b2211d..4b19e33 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ build* +vcpkg_installed/ + diff --git a/src/beison.cpp b/src/beison.cpp index 0dc3d38..ebff6c8 100644 --- a/src/beison.cpp +++ b/src/beison.cpp @@ -6,6 +6,7 @@ #include #include #include +#include namespace beison { @@ -249,7 +250,7 @@ namespace beison } Value Value::number(double d) noexcept { - if (!isfinite(d)) std::abort(); + if (!std::isfinite(d)) std::abort(); Value val; val.underlying_ = std::make_unique(ValueKindConstant(), d); return val; diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json new file mode 100644 index 0000000..47eee29 --- /dev/null +++ b/vcpkg-configuration.json @@ -0,0 +1,15 @@ +{ + "default-registry": { + "kind": "git", + "repository": "https://github.com/microsoft/vcpkg", + "baseline": "0da9fe986d07603da71f35ef8dd55512154a64bd" + }, + "registries": [ + { + "kind": "git", + "repository": "https://github.com/northwindtraders/vcpkg-registry", + "baseline": "dacf4de488094a384ca2c202b923ccc097956e0c", + "packages": [ "beicode" ] + } + ] +}