diff options
| author | Paul Eggert | 2025-01-18 23:10:53 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-01-18 23:28:10 -0800 |
| commit | abf2e097b281c92a7bc2776a967893b248a68384 (patch) | |
| tree | 4423f6f12d6da8070ffd2b0c360da1a693cc36f6 /src | |
| parent | 866cb87185d9096b248f42c11ee03c19ed7c7598 (diff) | |
| download | emacs-abf2e097b281c92a7bc2776a967893b248a68384.tar.gz emacs-abf2e097b281c92a7bc2776a967893b248a68384.zip | |
Port recently-added bitfields to IBM XL C 16.1
* src/lisp.h (struct Lisp_Hash_Table):
Use ENUM_BF for members weakness and frozen_test,
since they are enum bitfields.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h index a8fe2e9f6bc..dc365e1d46f 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2662,10 +2662,10 @@ struct Lisp_Hash_Table | |||
| 2662 | unsigned char index_bits; /* log2 (size of the index vector). */ | 2662 | unsigned char index_bits; /* log2 (size of the index vector). */ |
| 2663 | 2663 | ||
| 2664 | /* Weakness of the table. */ | 2664 | /* Weakness of the table. */ |
| 2665 | hash_table_weakness_t weakness : 3; | 2665 | ENUM_BF (hash_table_weakness_t) weakness : 3; |
| 2666 | 2666 | ||
| 2667 | /* Hash table test (only used when frozen in dump) */ | 2667 | /* Hash table test (only used when frozen in dump) */ |
| 2668 | hash_table_std_test_t frozen_test : 2; | 2668 | ENUM_BF (hash_table_std_test_t) frozen_test : 2; |
| 2669 | 2669 | ||
| 2670 | /* True if the table can be purecopied. The table cannot be | 2670 | /* True if the table can be purecopied. The table cannot be |
| 2671 | changed afterwards. */ | 2671 | changed afterwards. */ |