From: Andrea Corallo Date: Wed, 4 Mar 2020 21:52:38 +0000 (+0000) Subject: * Fix build for stock configuration X-Git-Tag: emacs-28.0.90~2727^2~792 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc89f3a0df1013c7c5fcb3cff6da27fa0263f007;p=emacs.git * Fix build for stock configuration Vcomp_native_path_postfix is declared only in native configuration. --- diff --git a/src/lread.c b/src/lread.c index acd2fea6881..32c83bfae8b 100644 --- a/src/lread.c +++ b/src/lread.c @@ -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. */