Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit aefdbe04 authored by rswindell's avatar rswindell

Created js_loop member (to detect infinite loops in JS scripts).

Moved JS-related constant definitions to sbbsdefs.h.
parent 1f2a6fc7
......@@ -107,9 +107,6 @@
#endif
#include <jsapi.h>
#include <jsprf.h> /* JS-safe sprintf functions */
#define JAVASCRIPT_MAX_BYTES (8*1024*1024)
#define JAVASCRIPT_CONTEXT_STACK (16*1024)
#endif
/***********************/
......@@ -190,6 +187,7 @@ public:
JSRuntime* js_runtime;
JSContext* js_cx;
JSObject* js_glob;
ulong js_loop;
long js_execfile(char *fname);
bool js_init(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment