diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-03-04 21:52:38 +0000 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-03-04 22:01:04 +0000 |
commit | dc89f3a0df1013c7c5fcb3cff6da27fa0263f007 (patch) | |
tree | 43e52f736a21cfdca32aea9c912113f7023cae18 /src/lread.c | |
parent | 6487d4ac5da92aab4d54b5702bba24a5a1ce8432 (diff) | |
download | emacs-dc89f3a0df1013c7c5fcb3cff6da27fa0263f007.tar.gz emacs-dc89f3a0df1013c7c5fcb3cff6da27fa0263f007.tar.bz2 emacs-dc89f3a0df1013c7c5fcb3cff6da27fa0263f007.zip |
* Fix build for stock configuration
Vcomp_native_path_postfix is declared only in native configuration.
Diffstat (limited to 'src/lread.c')
-rw-r--r-- | src/lread.c | 7 |
1 files changed, 4 insertions, 3 deletions
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. */ |