190075Sobrien/* $NetBSD: int_const.h,v 1.2 2023/07/04 01:02:50 riastradh Exp $ */
290075Sobrien
390075Sobrien#ifndef __INTMAX_C_SUFFIX__
490075Sobrien
590075Sobrien#define __INT8_C_SUFFIX__
690075Sobrien#define __INT16_C_SUFFIX__
790075Sobrien#define __INT32_C_SUFFIX__
890075Sobrien#ifdef _LP64
990075Sobrien#define __INT64_C_SUFFIX__	L
1090075Sobrien#else
1190075Sobrien#define __INT64_C_SUFFIX__	LL
1290075Sobrien#endif
1390075Sobrien
1490075Sobrien#define __UINT8_C_SUFFIX__
1590075Sobrien#define __UINT16_C_SUFFIX__
1690075Sobrien#define __UINT32_C_SUFFIX__
1790075Sobrien#ifdef _LP64
1890075Sobrien#define __UINT64_C_SUFFIX__	UL
1990075Sobrien#else
2090075Sobrien#define __UINT64_C_SUFFIX__	ULL
2190075Sobrien#endif
2290075Sobrien
2390075Sobrien#ifdef _LP64
2490075Sobrien#define __INTMAX_C_SUFFIX__	L
2590075Sobrien#define __UINTMAX_C_SUFFIX__	UL
2690075Sobrien#else
2790075Sobrien#define __INTMAX_C_SUFFIX__	LL
2890075Sobrien#define __UINTMAX_C_SUFFIX__	ULL
2990075Sobrien#endif
3090075Sobrien
3190075Sobrien#endif
3290075Sobrien
3390075Sobrien#include <sys/common_int_const.h>
3490075Sobrien