--- mstools/h/stdarg.h 2018/08/09 18:23:03 1.1.1.3 +++ mstools/h/stdarg.h 2018/08/09 18:25:24 1.1.1.4 @@ -59,7 +59,7 @@ typedef char * va_list; #endif -#if defined (_ALPHA_) +#if defined(_ALPHA_) /* * The Alpha compiler supports two builtin functions that are used to @@ -75,6 +75,8 @@ typedef char * va_list; #ifdef _CFRONT extern __builtin_va_start(va_list, ...); #define __builtin_isfloat(a) __builtin_alignof(a) +#elif defined(__cplusplus) +extern __builtin_va_start(va_list, ...); #endif #define va_start(list, v) __builtin_va_start(list, v, 1) @@ -88,7 +90,7 @@ extern __builtin_va_start(va_list, ...); ) \ ) -#endif /* ALPHA */ +#endif /* _ALPHA_ */ #ifdef __cplusplus