소스 검색

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