Do not require GCC for the va_list type
This commit is contained in:
parent
b0f8c18858
commit
e4f4b01e32
|
@ -10,8 +10,13 @@
|
||||||
|
|
||||||
/* types */
|
/* types */
|
||||||
# ifndef va_list
|
# ifndef va_list
|
||||||
# define va_list va_list
|
# define va_list va_list
|
||||||
|
# if defined(__GNUC__) && __GNUC__ >= 3
|
||||||
typedef __builtin_va_list va_list;
|
typedef __builtin_va_list va_list;
|
||||||
|
# else
|
||||||
|
# warning Unsupported architecture: va_list is not supported
|
||||||
|
typedef char * va_list;
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user