mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Fix smjs scripting #ifdefs to use CONFIG_SM_SCRIPTING
(cherry picked from commit ccc6527bba5e65bde1eaca6c6615167681b1b095)
This commit is contained in:
parent
7b6fefb0f1
commit
f587e88839
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
/* Error reporting. */
|
/* Error reporting. */
|
||||||
|
|
||||||
#if defined(CONFIG_RUBY) || defined(CONFIG_SEE) || defined(CONFIG_ECMASCRIPT)
|
#if defined(CONFIG_RUBY) || defined(CONFIG_SEE) || defined(CONFIG_SM_SCRIPTING)
|
||||||
void
|
void
|
||||||
report_scripting_error(struct module *module, struct session *ses,
|
report_scripting_error(struct module *module, struct session *ses,
|
||||||
unsigned char *msg)
|
unsigned char *msg)
|
||||||
@ -77,7 +77,7 @@ static struct module *scripting_modules[] = {
|
|||||||
#ifdef CONFIG_RUBY
|
#ifdef CONFIG_RUBY
|
||||||
&ruby_scripting_module,
|
&ruby_scripting_module,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_ECMASCRIPT
|
#ifdef CONFIG_SM_SCRIPTING
|
||||||
&smjs_scripting_module,
|
&smjs_scripting_module,
|
||||||
#endif
|
#endif
|
||||||
NULL,
|
NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user