Fixed the gcc ellipsis change to work with gcc-1.x.

This commit is contained in:
bde 1997-02-28 07:12:34 +00:00
parent b0a4a0ba48
commit 66d839e7a7
2 changed files with 10 additions and 6 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)varargs.h 8.2 (Berkeley) 3/22/94
* $Id$
* $Id: varargs.h,v 1.5 1997/02/22 09:35:22 peter Exp $
*/
#ifndef _VARARGS_H_
@ -45,9 +45,11 @@
typedef char *va_list;
#ifdef __GNUC__
#define va_alist __builtin_va_alist
#define va_alist __builtin_va_alist
#endif
#if __GNUC__ > 1
#define va_dcl int va_alist; ...
#else /* !__GNUC__ */
#else
#define va_dcl int va_alist;
#endif

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)varargs.h 8.2 (Berkeley) 3/22/94
* $Id$
* $Id: varargs.h,v 1.5 1997/02/22 09:35:22 peter Exp $
*/
#ifndef _VARARGS_H_
@ -45,9 +45,11 @@
typedef char *va_list;
#ifdef __GNUC__
#define va_alist __builtin_va_alist
#define va_alist __builtin_va_alist
#endif
#if __GNUC__ > 1
#define va_dcl int va_alist; ...
#else /* !__GNUC__ */
#else
#define va_dcl int va_alist;
#endif