[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp dc89f3a: * Fix build for stock configuration
From: |
Andrea Corallo |
Subject: |
feature/native-comp dc89f3a: * Fix build for stock configuration |
Date: |
Wed, 4 Mar 2020 17:01:55 -0500 (EST) |
branch: feature/native-comp
commit dc89f3a0df1013c7c5fcb3cff6da27fa0263f007
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>
* Fix build for stock configuration
Vcomp_native_path_postfix is declared only in native configuration.
---
src/lread.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/lread.c b/src/lread.c
index acd2fea..32c83bf 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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/native-comp dc89f3a: * Fix build for stock configuration,
Andrea Corallo <=