aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2025-01-19 00:16:28 -0800
committerPaul Eggert2025-01-19 00:17:05 -0800
commitf9be225501ce1ae53ec78136679de14ff093f46d (patch)
tree44e38cb88ce3e90c883df458a4e771753e093ff4 /src
parentfb434b85167d28e6739c8fc6fa80970011b79a0d (diff)
downloademacs-f9be225501ce1ae53ec78136679de14ff093f46d.tar.gz
emacs-f9be225501ce1ae53ec78136679de14ff093f46d.zip
Port recently-added bitfields back to GCC
* src/lisp.h (hash_table_std_test_t, hash_table_weakness_t): Name these as enum tags as well as typedefs, so that ENUM_BF works for them.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h
index dc365e1d46f..bc0bc682498 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2552,7 +2552,7 @@ struct Lisp_Hash_Table;
2552 It's unsigned and a subtype of EMACS_UINT. */ 2552 It's unsigned and a subtype of EMACS_UINT. */
2553typedef unsigned int hash_hash_t; 2553typedef unsigned int hash_hash_t;
2554 2554
2555typedef enum { 2555typedef enum hash_table_std_test_t {
2556 Test_eql, 2556 Test_eql,
2557 Test_eq, 2557 Test_eq,
2558 Test_equal, 2558 Test_equal,
@@ -2576,7 +2576,7 @@ struct hash_table_test
2576 Lisp_Object name; 2576 Lisp_Object name;
2577}; 2577};
2578 2578
2579typedef enum { 2579typedef enum hash_table_weakness_t {
2580 Weak_None, /* No weak references. */ 2580 Weak_None, /* No weak references. */
2581 Weak_Key, /* Reference to key is weak. */ 2581 Weak_Key, /* Reference to key is weak. */
2582 Weak_Value, /* Reference to value is weak. */ 2582 Weak_Value, /* Reference to value is weak. */