1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-26 01:15:37 +00:00

[ecmascript] Guard for builds without mozjs. Refs #81

This commit is contained in:
Witold Filipczyk 2020-11-23 20:11:47 +01:00
parent 37ae7a0db8
commit 3e3721582e

View File

@ -5,6 +5,12 @@
/* In the future you will get DOM, a complete ECMAScript interface and free
* plasm displays for everyone. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef CONFIG_ECMASCRIPT
#include <jsapi.h>
#include "main/module.h"
@ -105,3 +111,5 @@ void ecmascript_set_timeout2(struct ecmascript_interpreter *interpreter, JS::Han
extern struct module ecmascript_module;
#endif
#endif