1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

Fix smjs scripting #ifdefs to use CONFIG_SM_SCRIPTING

This commit is contained in:
Jonas Fonseca 2006-01-11 01:55:24 +01:00 committed by Jonas Fonseca
parent 6966d15d67
commit ccc6527bba

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,