From b8ad9be9085020c99d062fc53285063dd6b04fae Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 24 Oct 1996 04:46:33 +0000 Subject: Guard inclusion of stdarg.h and definition of VA_START with #if PROTOTYPES rather than with #ifdef __STDC__. The latter loses with Dynix/PTX. (wrapf) [PROTOTYPES]: Similarly, guard ANSI-style ... definition. Suggestion from Marcus Daniels. --- src/stty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stty.c') diff --git a/src/stty.c b/src/stty.c index b61500dfd..bfba68187 100644 --- a/src/stty.c +++ b/src/stty.c @@ -39,7 +39,7 @@ # include #endif #include -#ifdef __STDC__ +#if PROTOTYPES # include # define VA_START(args, lastarg) va_start(args, lastarg) #else @@ -422,7 +422,7 @@ char *program_name; /* VARARGS */ static void -#ifdef __STDC__ +#if PROTOTYPES wrapf (const char *message,...) #else wrapf (message, va_alist) -- cgit v1.2.3-54-g00ecf