Просмотр исходного кода

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

Stefan Siegl 9 лет назад
Родитель
Сommit
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 */