summaryrefslogtreecommitdiff
path: root/src/lread.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-12-18 18:05:57 +0800
committerPo Lu <luangruo@yahoo.com>2022-12-18 18:05:57 +0800
commit897f33bf316dd95107377c7bc7a9162482abcc4c (patch)
tree5ba3fcbe7cb90387d519f199662365288eeb5a44 /src/lread.c
parent660e941235d0e4e8490d53ad06cdb1e5699634fa (diff)
downloademacs-897f33bf316dd95107377c7bc7a9162482abcc4c.tar.gz
emacs-897f33bf316dd95107377c7bc7a9162482abcc4c.tar.bz2
emacs-897f33bf316dd95107377c7bc7a9162482abcc4c.zip
Fix the MS-DOS build
* src/lread.c (syms_of_lread): Make the MS-DOS build work again.
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lread.c b/src/lread.c
index 51ea3e5b929..d838a18de5a 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 \