1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 13:32:41 -08:00

* Fix build for stock configuration

Vcomp_native_path_postfix is declared only in native configuration.
This commit is contained in:
Andrea Corallo 2020-03-04 21:52:38 +00:00
parent 6487d4ac5d
commit dc89f3a0df

View file

@ -1058,9 +1058,9 @@ This uses the variables `load-suffixes' and `load-file-rep-suffixes'. */)
static Lisp_Object
effective_load_path (void)
{
if (!NATIVE_COMP_FLAG)
return Vload_path;
#ifndef HAVE_NATIVE_COMP
return Vload_path;
#else
Lisp_Object lp = Vload_path;
Lisp_Object new_lp = Qnil;
FOR_EACH_TAIL (lp)
@ -1073,6 +1073,7 @@ effective_load_path (void)
new_lp = Fcons (el, new_lp);
}
return Fnreverse (new_lp);
#endif
}
/* Return true if STRING ends with SUFFIX. */