feature/igc3 0a132aa6ffb 2/3: * src/fns.c (keep_entry_p) Add ifdefs for Weak_Key_Strong_Value.

Helmut Eller <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: feature/igc3
commit 0a132aa6ffb266c80fdb1c604026e347acc15781
Author: Helmut Eller <[email protected]>
Commit: Helmut Eller <[email protected]>

    * src/fns.c (keep_entry_p) Add ifdefs for Weak_Key_Strong_Value.
---
 src/fns.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fns.c b/src/fns.c
index 2d6ffe333fd..580d10907ab 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -5479,7 +5479,9 @@ keep_entry_p (hash_table_weakness_t weakness,
     case Weak_Value:         return strong_value;
     case Weak_Key_Or_Value:  return strong_key || strong_value;
     case Weak_Key_And_Value: return strong_key && strong_value;
+#if defined HAVE_MPS && !defined USE_EPHEMERON_POOL
     case Weak_Key_Strong_Value: return strong_key;
+#endif
     }
   emacs_abort();
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.