diff --git a/src/sbbs3/jsexec.c b/src/sbbs3/jsexec.c index a4160f1afedce0becb5ccdbb7a0c8907071c5bf9..31a4d57fab02f672b09e4836d4b0f8f7b963ebc2 100644 --- a/src/sbbs3/jsexec.c +++ b/src/sbbs3/jsexec.c @@ -29,7 +29,7 @@ #include <termios.h> #endif -#define STARTUP_INI_BITDESC_TABLES +#define STARTUP_INI_JSOPT_BITDESC_TABLE #include "sbbs.h" #include "ciolib.h" #include "ini_file.h" diff --git a/src/sbbs3/startup.h b/src/sbbs3/startup.h index 7f0c0498fba23f84862c5240870cc0d3542e0fc4..a8af8cf80654410dff96781e6fdcd206015345eb 100644 --- a/src/sbbs3/startup.h +++ b/src/sbbs3/startup.h @@ -212,6 +212,13 @@ static ini_bitdesc_t bbs_options[] = { { 0 ,NULL } }; +#ifndef STARTUP_INI_JSOPT_BITDESC_TABLE +#define STARTUP_INI_JSOPT_BITDESC_TABLE +#endif + +#endif + +#ifdef STARTUP_INI_JSOPT_BITDESC_TABLE static ini_bitdesc_t js_options[] = { { 1<<0 ,"STRICT" }, @@ -224,10 +231,9 @@ static ini_bitdesc_t js_options[] = { { 1<<14 ,"METHODJIT" }, { 1<<15 ,"PROFILING" }, { 1<<16 ,"METHODJIT_ALWAYS" }, - /* terminator */ + /* terminator */ { 0 ,NULL } }; - #endif #ifdef __cplusplus