]> git.eshelyaron.com Git - emacs.git/commitdiff
* Fix build for stock configuration
authorAndrea Corallo <akrl@sdf.org>
Wed, 4 Mar 2020 21:52:38 +0000 (21:52 +0000)
committerAndrea Corallo <akrl@sdf.org>
Wed, 4 Mar 2020 22:01:04 +0000 (22:01 +0000)
Vcomp_native_path_postfix is declared only in native configuration.

src/lread.c

index acd2fea68810e44bc29721c44d311b9314f3797a..32c83bfae8b3b672c528b5e76bab42b91e607b2d 100644 (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.  */