Browse Source

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

Stefan Siegl 9 years ago
parent
commit
e9c0a3ac62
1 changed files with 1 additions and 0 deletions
  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 */