blob: 11dcc1a11f197028d168fcc9fb907975f4a8a873 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
8#define _UAPI__ASM_GENERIC_BITS_PER_LONG
9#ifndef __BITS_PER_LONG
Christopher Ferris8666d042023-09-06 14:55:31 -070010#if defined(__CHAR_BIT__) && defined(__SIZEOF_LONG__)
11#define __BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__)
12#else
Ben Cheng655a7c02013-10-16 16:09:24 -070013#define __BITS_PER_LONG 32
Ben Cheng655a7c02013-10-16 16:09:24 -070014#endif
15#endif
Christopher Ferris7f4c8372024-06-03 14:22:19 -070016#ifndef __BITS_PER_LONG_LONG
17#define __BITS_PER_LONG_LONG 64
18#endif
Christopher Ferris8666d042023-09-06 14:55:31 -070019#endif