Skip to content

Commit e9c0a3a

Browse files
committed
Include <cmath> before isnan() macro work-around
1 parent de8d9b3 commit e9c0a3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php_v8js_macros.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <vector>
2929
#include <mutex>
3030

31+
#include <cmath>
3132
#ifndef isnan
3233
/* php.h requires the isnan() macro, which is removed by c++ <cmath> header,
3334
* work around: re-define the macro to std::isnan function */

0 commit comments

Comments
 (0)