浏览代码

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

Stefan Siegl 9 年之前
父节点
当前提交
e9c0a3ac62
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      php_v8js_macros.h

+ 1 - 0
php_v8js_macros.h

@@ -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 */