mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] Guard for builds without mozjs. Refs #81
This commit is contained in:
parent
37ae7a0db8
commit
3e3721582e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user