mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-03 13:21:52 +00:00
Undefine COMPILER symbol
This commit is contained in:
parent
8d8aed1e72
commit
ad09ee0993
@ -25,6 +25,12 @@ extern "C" {
|
|||||||
#include "php_v8js.h"
|
#include "php_v8js.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
/* On Windows a symbol COMPILER is defined. However v8.h has an enum with that
|
||||||
|
* name which hence would be broken unless undefined here. */
|
||||||
|
#undef COMPILER
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <v8.h>
|
#include <v8.h>
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
Loading…
Reference in New Issue
Block a user