0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-08 15:48:40 +00:00

Include <cmath> before isnan() macro work-around

This commit is contained in:
Stefan Siegl 2016-05-22 11:41:47 +02:00
parent de8d9b30c0
commit e9c0a3ac62

View File

@ -28,6 +28,7 @@
#include <vector>
#include <mutex>
#include <cmath>
#ifndef isnan
/* php.h requires the isnan() macro, which is removed by c++ <cmath> header,
* work around: re-define the macro to std::isnan function */