#ifndef PRL_TI_FI_H
#define PRL_TI_FI_H

#if __QACPP_MAJOR__ < 44
// C '1x
#define _Pragma _ignore_paren
#endif

#if __QACPP_MAJOR__ < 42
#define __ALIGNOF__(x) (sizeof(char))
#define __alignof__ __ALIGNOF__
#else
#define __ALIGNOF__ alignof
#define __alignof__ alignof
#endif

#ifdef __cpp_generic_lambdas
#if __QACPP_MAJOR__ < 42
#define __is_literal_type(x) false
#else
#define __is_literal_type(x) __qacpp_is_literal(x)
#endif

#if __QACPP_MAJOR__ < 40
#define __underlying_type(x) int
#else
#define __underlying_type(x) __qacpp_underlying_type(x)
#endif
#endif

#define __is_abstract(x) __qacpp_is_abstract(x)

/* stdarg.h */
#define __va_argcsu(type) 0
#define __va_parmadr(n) (n)

#else
#error "Multiple include"
#endif  /* ifndef PRL_TI_FI_H */

