xref: /aosp_15_r20/bionic/libc/kernel/uapi/asm-generic/bitsperlong.h (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1*8d67ca89SAndroid Build Coastguard Worker /*
2*8d67ca89SAndroid Build Coastguard Worker  * This file is auto-generated. Modifications will be lost.
3*8d67ca89SAndroid Build Coastguard Worker  *
4*8d67ca89SAndroid Build Coastguard Worker  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5*8d67ca89SAndroid Build Coastguard Worker  * for more information.
6*8d67ca89SAndroid Build Coastguard Worker  */
7*8d67ca89SAndroid Build Coastguard Worker #ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
8*8d67ca89SAndroid Build Coastguard Worker #define _UAPI__ASM_GENERIC_BITS_PER_LONG
9*8d67ca89SAndroid Build Coastguard Worker #ifndef __BITS_PER_LONG
10*8d67ca89SAndroid Build Coastguard Worker #if defined(__CHAR_BIT__) && defined(__SIZEOF_LONG__)
11*8d67ca89SAndroid Build Coastguard Worker #define __BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__)
12*8d67ca89SAndroid Build Coastguard Worker #else
13*8d67ca89SAndroid Build Coastguard Worker #define __BITS_PER_LONG 32
14*8d67ca89SAndroid Build Coastguard Worker #endif
15*8d67ca89SAndroid Build Coastguard Worker #endif
16*8d67ca89SAndroid Build Coastguard Worker #ifndef __BITS_PER_LONG_LONG
17*8d67ca89SAndroid Build Coastguard Worker #define __BITS_PER_LONG_LONG 64
18*8d67ca89SAndroid Build Coastguard Worker #endif
19*8d67ca89SAndroid Build Coastguard Worker #endif
20