Browse Source

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

Stefan Siegl 9 năm trước cách đây
mục cha
commit
e9c0a3ac62
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 */