1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -04:00

Fix smjs scripting #ifdefs to use CONFIG_SM_SCRIPTING

(cherry picked from commit ccc6527bba)
This commit is contained in:
Jonas Fonseca 2006-01-11 01:55:24 +01:00 committed by Kalle Olavi Niemitalo
parent 7b6fefb0f1
commit f587e88839

View File

@ -26,7 +26,7 @@
/* Error reporting. */
#if defined(CONFIG_RUBY) || defined(CONFIG_SEE) || defined(CONFIG_ECMASCRIPT)
#if defined(CONFIG_RUBY) || defined(CONFIG_SEE) || defined(CONFIG_SM_SCRIPTING)
void
report_scripting_error(struct module *module, struct session *ses,
unsigned char *msg)
@ -77,7 +77,7 @@ static struct module *scripting_modules[] = {
#ifdef CONFIG_RUBY
&ruby_scripting_module,
#endif
#ifdef CONFIG_ECMASCRIPT
#ifdef CONFIG_SM_SCRIPTING
&smjs_scripting_module,
#endif
NULL,