Add VA_LIST pointer type
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 20s
Builds / ExectOS (i686) (push) Successful in 20s

This commit is contained in:
Rafal Kupiec 2024-02-11 18:40:52 +01:00
parent 0c6a602253
commit 07d30e06e6
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -84,7 +84,7 @@
#define SIZE_TO_PAGES(Size) (((Size) >> MM_PAGE_SHIFT) + (((Size) & (MM_PAGE_MASK)) ? 1 : 0))
/* Variadic ABI functions */
typedef __builtin_va_list VA_LIST;
typedef __builtin_va_list VA_LIST, *PVA_LIST;
#define VA_ARG(Marker, Type) ((sizeof (Type) < sizeof(UINT_PTR)) ? \
(Type)(__builtin_va_arg(Marker, UINT_PTR)) : \
(Type)(__builtin_va_arg(Marker, Type)))