diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2025-10-22 14:04:46 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2025-10-22 14:04:46 +0000 |
| commit | 3e9ad70a30d93fc8bc759af7ec57aaa7e0b2d4f6 (patch) | |
| tree | 76cf032b6567e6d274f1d1689c76061dcf583033 /packages/Python/lldbsuite/test/python_api | |
| parent | 5f2df8f83128adbd2cf22050ca078f2e46bbb227 (diff) | |
linuxkpi: Fix the definition of BITS_PER_LONG
Don't use __LP64__ to decide the value, as it gives the wrong result on
CHERI platforms. Just define it in terms of __SIZEOF_LONG__. Make a
similar adjustment for BITS_PER_LONG_LONG while here.
Reviewed by: bz, dumbbell, emaste
MFC after: 1 week
Sponsored by: CHERI Research Centre (EPSRC grant UKRI3001)
Differential Revision: https://reviews.freebsd.org/D53135
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
