Cross Reference: int_const.h
xref: /src/sys/arch/riscv/include/int_const.h
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/riscv/include/
11.3Sskrll/* $NetBSD: int_const.h,v 1.3 2025/01/12 09:05:28 skrll Exp $ */
21.1Smatt
31.1Smatt#ifndef __INTMAX_C_SUFFIX__
41.1Smatt
51.1Smatt#define __INT8_C_SUFFIX__
61.1Smatt#define __INT16_C_SUFFIX__
71.1Smatt#define __INT32_C_SUFFIX__
81.2Sriastrad#ifdef _LP64
91.2Sriastrad#define __INT64_C_SUFFIX__	L
101.2Sriastrad#else
111.1Smatt#define __INT64_C_SUFFIX__	LL
121.2Sriastrad#endif
131.1Smatt
141.1Smatt#define __UINT8_C_SUFFIX__
151.1Smatt#define __UINT16_C_SUFFIX__
161.3Sskrll#define __UINT32_C_SUFFIX__	U
171.2Sriastrad#ifdef _LP64
181.2Sriastrad#define __UINT64_C_SUFFIX__	UL
191.2Sriastrad#else
201.1Smatt#define __UINT64_C_SUFFIX__	ULL
211.2Sriastrad#endif
221.1Smatt
231.2Sriastrad#ifdef _LP64
241.2Sriastrad#define __INTMAX_C_SUFFIX__	L
251.2Sriastrad#define __UINTMAX_C_SUFFIX__	UL
261.2Sriastrad#else
271.1Smatt#define __INTMAX_C_SUFFIX__	LL
281.1Smatt#define __UINTMAX_C_SUFFIX__	ULL
291.2Sriastrad#endif
301.1Smatt
311.1Smatt#endif
321.1Smatt
331.1Smatt#include <sys/common_int_const.h>
34

Indexes created Mon Nov 10 17:20:41 GMT 2025