1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-25 02:36:23 -04:00

[quickjs] Compilation fix

This commit is contained in:
Witold Filipczyk 2023-04-20 10:14:44 +02:00
parent a6b7554a52
commit 78c58e956c

View File

@ -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