mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[quickjs] Compilation fix
This commit is contained in:
parent
a6b7554a52
commit
78c58e956c
@ -53,6 +53,7 @@
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
#ifndef CONFIG_LIBDOM
|
||||
#define countof(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
static std::map<void *, JSValueConst> map_attributes;
|
||||
@ -315,3 +316,4 @@ getAttributes(JSContext *ctx, void *node)
|
||||
|
||||
RETURN_JS(rr);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user