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