Do not require GCC for the va_list type

This commit is contained in:
Pierre Pronchery 2018-08-09 03:14:00 +02:00
parent b0f8c18858
commit e4f4b01e32

View File

@ -11,7 +11,12 @@
/* types */
# ifndef va_list
# define va_list va_list
# if defined(__GNUC__) && __GNUC__ >= 3
typedef __builtin_va_list va_list;
# else
# warning Unsupported architecture: va_list is not supported
typedef char * va_list;
# endif
# endif