From 4959cb7bf9bafb6b8db32f0013709874ddc85104 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 25 Sep 1992 21:14:46 +0000 Subject: [PATCH] defined(__STDC__) / __STDC__==1 changes recommended by gnu --- gas/ChangeLog | 5 +++++ gas/messages.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 98d8b1fc2f9..2e099fdcbee 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 25 14:12:58 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) + + * as.h: Test if __STDC__ is defined only, don't test its value. + * messages.c: If __STDC__ is not defined, define NO_STDARG. + Thu Sep 24 12:42:32 1992 Brendan Kehoe (brendan@rtl.cygnus.com) * listing.c (debugging_pseudo): Add stabs and stabn as things to diff --git a/gas/messages.c b/gas/messages.c index 0b5652741e1..f292afdb289 100644 --- a/gas/messages.c +++ b/gas/messages.c @@ -22,6 +22,12 @@ #include "as.h" +#ifndef __STDC__ +#ifndef NO_STDARG +#define NO_STDARG +#endif +#endif + #ifndef NO_STDARG #include #else -- 2.30.2