mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 07:01:52 +00:00
include <functional> for std::function
This fixes build with g++ 7.0
This commit is contained in:
parent
78b651535b
commit
fb26b5049c
@ -14,6 +14,8 @@
|
||||
#ifndef V8JS_V8_H
|
||||
#define V8JS_V8_H
|
||||
|
||||
#include <functional>
|
||||
|
||||
/* Helper macros */
|
||||
#define V8JS_SYM(v) v8::String::NewFromUtf8(isolate, v, v8::String::kInternalizedString, sizeof(v) - 1)
|
||||
#define V8JS_SYML(v, l) v8::String::NewFromUtf8(isolate, v, v8::String::kInternalizedString, l)
|
||||
|
Loading…
Reference in New Issue
Block a user