Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG |
| 8 | #define _UAPI__ASM_GENERIC_BITS_PER_LONG |
| 9 | #ifndef __BITS_PER_LONG |
Christopher Ferris | 8666d04 | 2023-09-06 14:55:31 -0700 | [diff] [blame] | 10 | #if defined(__CHAR_BIT__) && defined(__SIZEOF_LONG__) |
| 11 | #define __BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__) |
| 12 | #else |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 13 | #define __BITS_PER_LONG 32 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 14 | #endif |
| 15 | #endif |
Christopher Ferris | 8666d04 | 2023-09-06 14:55:31 -0700 | [diff] [blame] | 16 | #endif |