emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 897f33bf31: Fix the MS-DOS build


From: Po Lu
Subject: emacs-29 897f33bf31: Fix the MS-DOS build
Date: Sun, 18 Dec 2022 05:06:12 -0500 (EST)

branch: emacs-29
commit 897f33bf316dd95107377c7bc7a9162482abcc4c
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix the MS-DOS build
    
    * src/lread.c (syms_of_lread): Make the MS-DOS build work again.
---
 src/lread.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/lread.c b/src/lread.c
index 51ea3e5b92..d838a18de5 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -5479,11 +5479,16 @@ to the specified file name if a suffix is allowed or 
required.  */);
 
   DEFVAR_LISP ("dynamic-library-suffixes", Vdynamic_library_suffixes,
               doc: /* A list of suffixes for loadable dynamic libraries.  */);
-  Vdynamic_library_suffixes =
-    Fcons (build_pure_c_string (DYNAMIC_LIB_SECONDARY_SUFFIX), Qnil);
-  Vdynamic_library_suffixes =
-    Fcons (build_pure_c_string (DYNAMIC_LIB_SUFFIX),
-          Vdynamic_library_suffixes);
+
+#ifndef MSDOS
+  Vdynamic_library_suffixes
+    = Fcons (build_pure_c_string (DYNAMIC_LIB_SECONDARY_SUFFIX), Qnil);
+  Vdynamic_library_suffixes
+    = Fcons (build_pure_c_string (DYNAMIC_LIB_SUFFIX),
+            Vdynamic_library_suffixes);
+#else
+  Vdynamic_library_suffixes = Qnil;
+#endif
 
   DEFVAR_LISP ("load-file-rep-suffixes", Vload_file_rep_suffixes,
               doc: /* List of suffixes that indicate representations of \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]