mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-08 12:38:41 +00:00
Include <cmath> before isnan() macro work-around
This commit is contained in:
parent
de8d9b30c0
commit
e9c0a3ac62
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user